Ticket #314 (closed task: fixed)
(Default) validation of field type 'date-range'
| Reported by: | sdm | Owned by: | mpo |
|---|---|---|---|
| Priority: | major | Milestone: | 0.4 |
| Component: | modules/kauri-forms | Version: | |
| Keywords: | date-range validation | Cc: | kauri-discuss@… |
Description
With a date-range, you can enter a start and end date, but there is no validation that checks if the start date <= end date. I think it would be a nice enhancement to the date-range if this validation was present by default.
This issue was also discussed in http://groups.google.com/group/kauri-discuss/browse_thread/thread/bd529655c0c33b05#
Change History
comment:5 Changed 3 years ago by karel
- Status changed from closed to reopened
- Resolution fixed deleted
Reopened: rather than adding a validation, we should also provide the
more user-friendly variant: swapping the dates if they are in the wrong order.
(hint: use normalizeValue)
Note: See
TracTickets for help on using
tickets.