Reset input field when modal was closed
requested to merge 466435-reset-input-field-after-delete-merged-branches-modal-was-closed into master
What does this MR do and why?
Closes #466435 (closed)
- It resets the value in the input field when the modal gets closed.
- This MR removes also a data attribute I stumbled upon which was unused in the component.
Screenshots or screen recordings
Before | After |
---|---|
Screen_Recording_2024-06-10_at_10.27.45 | Screen_Recording_2024-06-10_at_16.15.55 |
How to set up and validate locally
- On localhost, go to any project
- go to Code => Branches
- click on the "..." menu on the right to open the Modal.
- Type "something" in the input field
- Close the modal (either click on the background, on the 'x', or on the 'Cancel' button)
- Open modal again
- Input field is now empty
Related to #466435 (closed)
Edited by Vanessa Otto