Description of problem: Version-Release number of selected component (if applicable): Version 5.10.7.0.20190709151852_68f0bf9 How reproducible: 100% Steps to Reproduce: 1. create a new service dialog with a datepicker field 2. Set datepicker field required in dialog 2. add the service dialog to the catalog 3. in the service catalog select the service dialog and click on order 4. Try to Submit button in order page Actual results: In service order page Submit button is disabled when DatePicker and TimePicker fields set as required in dialog. Expected results: Submit button should be active when select any value Additional info: https://bugzilla.redhat.com/show_bug.cgi?id=1702497#c4
https://github.com/ManageIQ/ui-components/pull/401
New commits detected on ManageIQ/ui-components/master: https://github.com/ManageIQ/ui-components/commit/14196161ae937ac3f23961c5250eacb6eea342e0 commit 14196161ae937ac3f23961c5250eacb6eea342e0 Author: Martin Hradil <mhradil> AuthorDate: Thu Jul 11 07:23:09 2019 -0400 Commit: Martin Hradil <mhradil> CommitDate: Thu Jul 11 07:23:09 2019 -0400 dialogField.html - merge ng-switch-when for same type, add validation message to each only a few of the types would previously display the validation message on error adding to each type (and unified the switches to be able to tell which is which) https://bugzilla.redhat.com/show_bug.cgi?id=1728600 src/dialog-user/components/dialog-user/dialogField.html | 60 +- 1 file changed, 38 insertions(+), 22 deletions(-) https://github.com/ManageIQ/ui-components/commit/1758d5bcad3605e10b266fc15fe62db226ef04ea commit 1758d5bcad3605e10b266fc15fe62db226ef04ea Author: Martin Hradil <mhradil> AuthorDate: Thu Jul 11 07:43:27 2019 -0400 Commit: Martin Hradil <mhradil> CommitDate: Thu Jul 11 07:43:27 2019 -0400 dialogData.validateField - fix date required validation _.isEmpty(new Date()) is true, so no required date was valid switching to per-type switch, we only require the date to be a Date when required Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1728600 src/dialog-user/services/dialogData.ts | 48 +- 1 file changed, 30 insertions(+), 18 deletions(-)
Verified in Version 5.11.0.16.20190724210259_2b4aa51