Actions
Feature #1218
closedAdd support for isValidDate attribute in DateTimePicker componnent
Start date:
08/20/2018
Due date:
% Done:
100%
Estimated time:
Owner:
Description
Componnent react-datetime has attribute isValidDate which can be used for disabling some dates, but our DateTimePicker which is wrapper for it does not supporting it.
Use case - User can pick only date in future, or pick only weekends for example.
Related issues
Updated by Roman Kučera over 6 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Roman Kučera to Radek Tomiška
Implementation in branch https://github.com/bcvsolutions/CzechIdMng/tree/rkucera/1218-date-picker-valid-date
Added example how to use it into README
Updated by Radek Tomiška over 6 years ago
- Category set to Frontend
- Status changed from Needs feedback to Closed
- Assignee changed from Radek Tomiška to Roman Kučera
- Target version set to Malachite (9.0.0)
- % Done changed from 80 to 100
I did test and review, it works and code looks nice. I added some doc into readme and component (parameter was missing).
Note: New property is only for FE DateTimePicker component - defines dates that can be selected. Don't forget to implement BE validation or standard FE form component validation with it together.
Updated by Roman Kučera over 6 years ago
- Related to Task #1234: DataTimePicker validation base on isValidDate attribute added
Actions