-
Notifications
You must be signed in to change notification settings - Fork 76
UseInputMask Option
Benjamin Albert edited this page Feb 4, 2016
·
3 revisions
Type: Bool
Default: false
Directs the MonthPicker to use the Digital Bush Masked Input jQuery Plugin on text inputs, the plugin must be loaded to the page if this option is to be used. This option will be ignored if the HTML 5 Input Type is used.
In version 2.4 and later the mask is constructed according to the MonthFormat option.
NOTE: numeric literals in the MonthFormat will be editable by the user, if this is not the desired behavior you will have to use the .mask() method manually.
Set the option upon init.
$('.selector').MonthPicker({ UseInputMask: true });
Get or set the option, after init.
//getter var disabled = $('.selector').MonthPicker('option', 'UseInputMask'); //setter $('.selector').MonthPicker('option', 'UseInputMask', false );