Feature #34530
closed
mgr/dashboard: CdSubmitButton should be disabled if the form was not modified
Added by Tiago Melo over 5 years ago.
Updated about 3 years ago.
Tags:
dashboard, usability
Description
ATM most of the forms allows us to submit unmodified data, this will create an unnecessary request to the backend.
We should disable the button if the form is pristine.
Related issues
1 (1 open — 0 closed)
- Target version set to v14.0.0
- Tags set to dashboard, usability
There are two two in the current dashboard code that should be updated when resolving the issue:
- Related to Bug #34312: mgr/dashboard: Style guide for frontend/Angular coding conventions added
This feature is a bit more complex than I had imagined.
Looks like manually updating values in the form will not always update the status of the form, so we can't simply check that and disabled the button.
Only solution I see would require us to, every time we update form data, manually update the status of the form.
I don't actually like this solution, so I would suggest we close this issue.
- Status changed from New to Closed
- Project changed from mgr to Dashboard
- Category changed from 132 to General
Also available in: Atom
PDF