Bug 1015652 - When domain has all gear sizes disabled, submit button is still enabled
Summary: When domain has all gear sizes disabled, submit button is still enabled
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Website
Version: 2.x
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Jordan Liggitt
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-04 18:04 UTC by Clayton Coleman
Modified: 2015-05-15 01:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-20 13:34:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Clayton Coleman 2013-10-04 18:04:56 UTC
The jquery form validator on the app create form (application_types/show) does not disable the submit button when the form is invalid - so the user can hit the submit button but nothing happens.  It should be be disabled when the form is invalid.

Repro:
1) Create a domain as test1 and share it with user test2
2) Disable all gear sizes in test1
3) As test2, go to the create app page.  Error messages are displayed, but the submit button is clickable

Expected:
The submit button to be disabled when the form is in error.

Comment 1 Jordan Liggitt 2013-11-20 13:34:31 UTC
Validation also triggers on submit, so we want to leave it enabled in case the user makes a change that would make the form validate correctly.


Note You need to log in before you can comment on or make changes to this bug.