Bug 1692736

Summary: Validate field act as required in CloudForms Service Dialogs
Product: Red Hat CloudForms Management Engine Reporter: Khushbu Borole <kborole>
Component: UI - OPSAssignee: Roman Blanco <rblanco>
Status: CLOSED CURRENTRELEASE QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.10.1CC: bmidwood, dmetzger, greartes, hkataria, lavenel, mpovolny, mshriver, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1702063 (view as bug list) Environment:
Last Closed: 2019-12-13 15:16:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1702063    
Attachments:
Description Flags
dialog none

Description Khushbu Borole 2019-03-26 10:29:44 UTC
Description of problem:
On catalog dialogs, submit button is disabled until all validations fields are passed. Even if the element is not a required field.

Version-Release number of selected component (if applicable):
Red Hat CloudForms 4.7

How reproducible:
Always

Steps to Reproduce:
1. Create a dialog with a field which needs to 'Validate' but is not 'Required'
2. Execute the dialog as a Catalog Service
3. Try submitting the dialog only with the 'Required' Fields

Actual results:
It needs to fill in the 'Validate' fields to submit the form

Expected results:
It should be able to submit the form with only 'Required' fields

Comment 5 CFME Bot 2019-03-27 16:22:30 UTC
New commit detected on ManageIQ/ui-components/master:

https://github.com/ManageIQ/ui-components/commit/4cade913d51dd064cf2ea0549d07433a9c1b3695
commit 4cade913d51dd064cf2ea0549d07433a9c1b3695
Author:     Roman Blanco <rblanco>
AuthorDate: Wed Mar 27 08:41:09 2019 -0400
Commit:     Roman Blanco <rblanco>
CommitDate: Wed Mar 27 08:41:09 2019 -0400

    Corrected condition testing emptiness of dialog field

    Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1692736

 src/dialog-user/services/dialogData.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 7 Niyaz Akhtar Ansari 2019-05-14 16:21:07 UTC
Version 5.11.0.3.20190507174347_a77bd90

Comment 8 Niyaz Akhtar Ansari 2019-05-14 16:21:30 UTC
Created attachment 1568548 [details]
dialog