Skip to content

Find and Replace/Go To Line error styles retained when no text in input #220

@WebCoder49

Description

@WebCoder49

On Firefox, the find and replace and go to line dialogs' error style text colours affect the placeholder colour when the input is empty. Using additional styles will also affect the empty input element. The input element will retain the presence or absence of the error state that its previous contents caused. It should not have the error styles whenever it is empty.

Error styles occur when a string not in the code is typed in the dialog for Find and Replace, or an invalid (too high, or too low, or wrong format) line number is typed into the dialog for Go To Line. They are in the class code-input_find-and-replace_error on the input element. They currently turn the text red.

Metadata

Metadata

Assignees

Labels

area:existing-pluginA bug/feature for an existing plugin in the plugins folder of code-input.bugSomething isn't workingpriority:high

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions