@jable/textbox

1.0.1 • Public • Published

textbox

Fancy textboxes

Example

<jb-textbox name="email" type="email" placeholder="Email" required>
    <helper>Enter your email here</helper>
    <error type>Not a valid email!</error>
    <error required>Email required!</error>
</jb-textbox>

Errors

bad - badInput

custom - customError

required - valueMissing

pattern - patternMismatch

max - rangeOverflow

min - rangeUnderflow

step - stepMismatch

maxlength - tooLong

type - typeMismatch

/@jable/textbox/

    Package Sidebar

    Install

    npm i @jable/textbox

    Weekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • cpamperin