It is possible to replace using Enter key despite the replace input and buttons disabled #10712
Labels
intro
Good first ticket.
package:find-and-replace
squad:core
Issue to be handled by the Core team.
type:bug
This issue reports a buggy (incorrect) behavior.
Milestone
📝 Provide detailed reproduction steps (if any)
✔️ Expected result
Nothing should happen. The replace input is disabled because criteria have changed. Replace buttons are disabled.
❌ Actual result
Text gets replaced.
❓ Possible solution
I noticed that replace/replaceall commands are always enabled and the UI is bound to the find's state. ATM the replacement is possible as long as there was anything typed in the find input. It should not be possible when the form is dirty (there's a flag for that).
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: