Resetting form doesn't affect submit button
What does this MR do and why?
Fix regression from !96379 (merged).
After a successful creation of a personal access token the text of the submit button was removed.
We have change the logic to be more selective. In addition, we don't add
checked
attributes to text input fields and, the other way around,
adding value
attributes to checkbox input fields
Closes #373228 (closed)
Screenshots or screen recordings
Before
Personal_Access_Tokens___User_Settings___GitLab
After
Screen_Recording_2022-09-09_at_11.57.55
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Go to Profile > Personal access tokens
- Create access token
- Track how the values are reset except the datepicker and the submit button
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Eduardo Sanz García