Ngx-bootstrap: Suggestions for datepicker

Created on 14 Jun 2018  路  6Comments  路  Source: valor-software/ngx-bootstrap

It would be great if the datepicker had a couple more capabilities:

  • [ ] Option to prevent user typing their own input, i.e. force them to use the picker

  • [ ] If you do allow typed input, mask it so it has to follow the format

  • [ ] Include a clear button or x that removes the value

comp(datepicker) feat-request

Most helpful comment

+1 for clear button

All 6 comments

I would like to see the second one be an option, definitely. The other two, i see as nice to have - usually i have users request to type, but not a request to not be able to type a date.

Option to prevent user typing their own input, i.e. force them to use the picker

I just set the input field to readonly and that works well for me

I would like to see the second one be an option, as soon as possible.

Yes. Second option is great. But IMO manual input should update calendar. Now we can have situation where value inside input is different than the one currently selected in datepicker - which seems kind of 'buggy' behaviour.

Yes we really need the second option as soon as possible. Also it should only allow digits.

+1 for clear button

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MihaiHoriaPopescu picture MihaiHoriaPopescu  路  3Comments

haisaco picture haisaco  路  3Comments

ravirajhalli picture ravirajhalli  路  3Comments

MrBlaise picture MrBlaise  路  3Comments

phmello picture phmello  路  3Comments