8000 data-autoinit is not working · Issue #28 · estelle/input-masking · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
data-autoinit is not working #28
Open
@o-alquimista

Description

@o-alquimista
<div>
  <label for="cpf">CPF</label>
  <input id="cpf" type="tel" class="masked" pattern="[0-9]{3}.[0-9]{3}.[0-9]{3}-[0-9]{2}" placeholder="999.999.999-99" maxlength="14" title="Número de CPF, incluindo pontos e hífen. Exemplo: 000.000.000-00">
</div>
let inputMask = new InputMask();

Manual initialization is working, but auto initialization via script[data-autoinit=true] is not.

<script defer src="/path/to/file.js" data-autoinit="true"></script>

I'm using commit afc9fbb.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0