ghiscoding / Aurelia-Bootstrap-Plugins

Aurelia-Bootstrap-Plugins are Custom Elements to bridge with a set of 3rd party Bootstrap addons
https://ghiscoding.github.io/Aurelia-Bootstrap-Plugins
MIT License
45 stars 23 forks source link

Enable User to Manually Enter Date from KeyBoard #57

Closed ayaanraj closed 5 years ago

ayaanraj commented 6 years ago

I have this requirement, were user wants to enter the date manually rather than using picker, which is provided. I have seen the documentation and have gone through bootstrap datetimepicker also, but I couldn't found anything. please help me out, with this.

ghiscoding commented 6 years ago

Just open the input for typing and that will let your user type a date, but you will have to provide proper validation.

Just remember that this plugin is a wrapper of the original picker, it is supposed to be at equality in terms of what it can do (not more, not less), but if you can't find it in the original than you won't find it in this plugin either

ayaanraj commented 6 years ago

Thanks @ghiscoding. I have used value converter along with datetimepicker, which was giving some other behaviour.

ghiscoding commented 5 years ago

Sorry for the late reply but I don't think it's a problem with this lib itself. I think you can just disable this flag (which is enable in the lib)

allowInputToggle: false

See the official doc

ghiscoding commented 5 years ago

closing as no feedback and solution was provided