3.0.0 • Published 11 months ago

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

Weekly downloads
-
License
MIT
Repository
github
Last release
11 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

11 months ago

2.0.22

1 year ago

2.1.0

1 year ago

2.0.18

1 year ago

2.0.6

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

2.0.3

2 years ago