Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement clear button for search bar #191

Merged
merged 1 commit into from
Jun 21, 2023

Conversation

Honny1
Copy link
Member

@Honny1 Honny1 commented Jun 15, 2023

This PR adds a clear button to the search bar.

Fixes: #179

self.previousSibling.value= "";
search_rule(self.previousSibling);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Newline?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably yes, I use eslint to check javascript files and the default is forced without a newline. I've read the documentation for the eol-last rule, and it doesn't explain any specific purpose or benefit of not having a newline at the end of the file. So I'll use the Unix conversion and fix the newlines and update the line settings in another PR.

@Honny1 Honny1 force-pushed the add-clear-button-to-search-bar branch from c7eeedb to a3b5acf Compare June 21, 2023 09:46
@evgenyz evgenyz merged commit 4b347e4 into OpenSCAP:main Jun 21, 2023
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Clear Button For Search Bar
2 participants