Project

General

Profile

Task #1234

DataTimePicker validation base on isValidDate attribute

Added by Roman Kučera 11 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Frontend
Target version:
Start date:
08/31/2018
Due date:
% Done:

100%


Description

As Radek mention in the related issue. isValidDate attribute only works when user want to pick the date, but he still can manually write other date.


Related issues

Related to CzechIdM - Feature #1218: Add support for isValidDate attribute in DateTimePicker componnent Closed 08/20/2018

History

#1 Updated by Roman Kučera 11 months ago

  • Related to Feature #1218: Add support for isValidDate attribute in DateTimePicker componnent added

#2 Updated by Roman Kučera 11 months ago

Added validation to validate method inside this component.
If someone will use isValidDate attribute it will automatically validate it.
Implementation in branch https://github.com/bcvsolutions/CzechIdMng/tree/rkucera/1234-DateTimePicker-validate-isValidDate

#3 Updated by Roman Kučera 11 months ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Roman Kučera to Radek Tomiška

#4 Updated by Radek Tomiška 10 months 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 Morganite (9.2.0)
  • % Done changed from 80 to 100

Thx for this feature, I did test, review and small refactoring:
https://github.com/bcvsolutions/CzechIdMng/commit/29fa1ecd247093a3802b3fd76f31e71b1a9876e8

Now is not needed to check, if given date is valid (not string), custom validation is called after standard validation.

Also available in: Atom PDF