Created attachment 1541513 [details] No default value Description of problem: Version-Release number of selected component (if applicable): 5.10.1.1.20190212171432_83eb777 How reproducible: Steps to Reproduce: 1. Create a dialog with timepicker. 2. See attached screenshot. we cannot set default value to it. 3. Actual results: Expected results: Need ability to be able to set default date/time in Timepicker Additional info:
https://github.com/ManageIQ/manageiq-ui-classic/pull/5400
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/82f279a42bda8251df1fa00fd0a5426238c4f32c commit 82f279a42bda8251df1fa00fd0a5426238c4f32c Author: Roman Blanco <rblanco> AuthorDate: Thu Mar 7 10:32:41 2019 -0500 Commit: Roman Blanco <rblanco> CommitDate: Thu Mar 7 10:32:41 2019 -0500 Showing default value for date/time picker in service dialog preview fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1686077 app/views/miq_ae_customization/_dialog_sample.html.haml | 8 +- 1 file changed, 4 insertions(+), 4 deletions(-)
New commit detected on ManageIQ/ui-components/master: https://github.com/ManageIQ/ui-components/commit/5d439749c04d932932645bee5128321ef86df656 commit 5d439749c04d932932645bee5128321ef86df656 Author: Roman Blanco <rblanco> AuthorDate: Thu Mar 7 10:31:30 2019 -0500 Commit: Roman Blanco <rblanco> CommitDate: Thu Mar 7 10:31:30 2019 -0500 Allow setting default value for date/time picker in Dialog Editor modal fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1686077 src/dialog-editor/components/modal-field-template/date-control.html | 88 + src/dialog-editor/components/modal-field-template/date-time-control.html | 10 + src/dialog-editor/components/modal-field/field.html | 2 +- 3 files changed, 99 insertions(+), 1 deletion(-)
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/66ed24916a2998dd0207f3ec1566d157a7d29266 commit 66ed24916a2998dd0207f3ec1566d157a7d29266 Author: Martin Hradil <mhradil> AuthorDate: Wed Oct 23 11:18:40 2019 -0400 Commit: Martin Hradil <mhradil> CommitDate: Wed Oct 23 11:18:40 2019 -0400 Update ui-components to 1.3.2 v1.3.2 ManageIQ/ui-components#373 ManageIQ/ui-components#412 ManageIQ/ui-components#414 ManageIQ/ui-components#415 ManageIQ/ui-components#417 ManageIQ/ui-components#418 ManageIQ/ui-components#421 ManageIQ/ui-components#423 https://bugzilla.redhat.com/show_bug.cgi?id=1686077 https://bugzilla.redhat.com/show_bug.cgi?id=1729379 package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commit detected on ManageIQ/manageiq-ui-service/master: https://github.com/ManageIQ/manageiq-ui-self_service/commit/46fa3784c69862516e855f5ee6e0acbdd95cc5f8 commit 46fa3784c69862516e855f5ee6e0acbdd95cc5f8 Author: Martin Hradil <mhradil> AuthorDate: Wed Oct 23 11:18:47 2019 -0400 Commit: Martin Hradil <mhradil> CommitDate: Wed Oct 23 11:18:47 2019 -0400 Update ui-components to 1.3.2 v1.3.2 ManageIQ/ui-components#373 ManageIQ/ui-components#412 ManageIQ/ui-components#414 ManageIQ/ui-components#415 ManageIQ/ui-components#417 ManageIQ/ui-components#418 ManageIQ/ui-components#421 ManageIQ/ui-components#423 https://bugzilla.redhat.com/show_bug.cgi?id=1686077 https://bugzilla.redhat.com/show_bug.cgi?id=1729379 package.json | 2 +- yarn.lock | 8 +- 2 files changed, 5 insertions(+), 5 deletions(-)
New commit detected on ManageIQ/ui-components/ivanchuk: https://github.com/ManageIQ/ui-components/commit/8660c6fb47a725f3fefb676bdfbd45fa2ab83f80 commit 8660c6fb47a725f3fefb676bdfbd45fa2ab83f80 Author: Martin Hradil <mhradil> AuthorDate: Thu Sep 12 14:10:20 2019 +0000 Commit: Satoe Imaishi <simaishi> CommitDate: Thu Aug 20 13:01:38 2020 +0000 Merge pull request #373 from romanblanco/bz1686077 Allow setting default value for date/time picker in Dialog Editor modal (cherry picked from commit 8811c766d812d37d91cf89f5b455999d81bf20c6) https://bugzilla.redhat.com/show_bug.cgi?id=1686077 https://bugzilla.redhat.com/show_bug.cgi?id=1706848 src/dialog-editor/components/field/field.html | 37 +- src/dialog-editor/components/modal-field-template/date-control.html | 115 + src/dialog-editor/components/modal-field-template/date-time-control.html | 23 + src/dialog-editor/components/modal-field-template/modalFieldTemplateComponent.ts | 3 +- src/dialog-editor/components/modal-field/field.html | 2 +- 5 files changed, 170 insertions(+), 10 deletions(-)
Verified in Version 5.11.8.0.20200908214813_b3cc53d
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: CloudForms 5.0.8 security, bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:4134