Red Hat Bugzilla – Bug 1015652
When domain has all gear sizes disabled, submit button is still enabled
Last modified: 2015-05-14 21:30:31 EDT
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.
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
The submit button to be disabled when the form is in error.
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.