3.0.0 • Published 5 months ago

@toujou/toujou-input-date-mask v3.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Toujou Input Date Mask

@todo add description

Installation

  npm install @toujou/toujou-input-date-mask

Usage

<toujou-input-date-mask mask="dd.mm.yyyyy">
    <input placeholder="tt.mm.jjjj" 
           required="required" 
           autocomplete="off" 
           type="tel"
           slot="facade"
    />
    <input type="hidden"
           slot="hidden"
           id="hidden"
           name="birthdate"
    />
</toujou-input-date-mask>

Properties

NameTypeDefaultDescription
mask{String}'dd.mm.yyyy'Mask format
show_mask_on_focus{Boolean}falseIf this option - true, the mask will only be displayed when an event occurs onFocus
show_mask_on_hover{Boolean}falseIf this option - true, when you mouse over the input, the mask appears, when you mouse leave the input, the mask disappears
custom-validation-error-message{String}Please enter a valid dateValidation error message
3.0.0

5 months ago

2.0.22

10 months ago

2.1.0

8 months ago

2.0.18

10 months ago

2.0.6

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.3

1 year ago