How to disable manual input through iPad keyboard for Bootstrap Datepicker field in iPad -
i using bootstrap-datepicker.js displaying field using datepicker. in ipad, ipad keyboard popping along datepicker, should not happen in scenario.
i used making "readonly" in html template field, , used ignorereadonly, not supporting bootstrap-datepicker. may datetimepicker. datepicker not coming in ipad.
i used:
$('.applydatepicker').datepicker({ format: "mm-dd-yyyy", autoclose: true, todayhighlight: true }).on('focus', function(e){ $(this).trigger('blur'); });
this code popping , hiding ipad keyboard on focus, selecting value using datepicker. problem when want change year value, click on datepicker year value, , again ipad keyboard popsup editing.
i want use datepicker select date , not ipad keyboard.
how can resolve issue?
Comments
Post a Comment