angular-ui / bootstrap

PLEASE READ THE PROJECT STATUS BELOW. Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!
http://angular-ui.github.io/bootstrap/
MIT License
14.3k stars 6.74k forks source link

auto format input #6699

Closed sebius8780 closed 6 years ago

sebius8780 commented 6 years ago

Hello team !

I've search and didn't find a way to be able to help the user enter a date manually on date-picker like you have the date format like : dd/MM/yyyy

The user enters 25 and automatically the input add the '/'. I tried to find a hook between string to date conversion ( I know about the uibparser but not really sure it should be used for this ).

I have seen in the code source that hook might already been there, but not available for us to play with ?

Thanks for the help !

Angular: 1.6.8

sebius8780 commented 6 years ago

... Of course I didn't read before posting ....