Project

General

Profile

Actions

Task #1234

closed

DataTimePicker validation base on isValidDate attribute

Added by Roman Kučera over 5 years ago. Updated over 5 years ago.

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

100%

Estimated time:
Owner:

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 IdStory Identity Manager - Feature #1218: Add support for isValidDate attribute in DateTimePicker componnentClosedRoman Kučera08/20/2018

Actions
Actions #1

Updated by Roman Kučera over 5 years ago

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

Updated by Roman Kučera over 5 years 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

Actions #3

Updated by Roman Kučera over 5 years ago

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

Updated by Radek Tomiška over 5 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 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.

Actions

Also available in: Atom PDF