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

[search-in-workspace] update the 'Replace All' disabled state #5611

Merged
merged 1 commit into from
Jun 30, 2019

Conversation

vince-fugnitto
Copy link
Member

Fixes #5610

  • updated the logic for disabling the Replace All button in the search-in-workspace
    to only enable the button if there currently is a search term and results are present.
  • updated the onClick event to respect the disabled state.

Signed-off-by: Vincent Fugnitto [email protected]

Fixes #5610

- updated the logic for disabling the `Replace All` button in the search-in-workspace
to only enable the button if there currently is a search term and results are present.
- updated the `onClick` event to respect the `disabled` state.

Signed-off-by: Vincent Fugnitto <[email protected]>
@vince-fugnitto vince-fugnitto added bug bugs found in the application search in workspace issues related to the search-in-workspace labels Jun 28, 2019
@vince-fugnitto vince-fugnitto requested review from fangnx and elaihau June 28, 2019 18:55
@vince-fugnitto vince-fugnitto self-assigned this Jun 28, 2019
Copy link

@fangnx fangnx left a comment

Choose a reason for hiding this comment

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

Works nicely!

@vince-fugnitto
Copy link
Member Author

Thanks @fangnx @elaihau !

@vince-fugnitto vince-fugnitto merged commit e206bd3 into master Jun 30, 2019
@vince-fugnitto vince-fugnitto deleted the vf/GH-5610 branch June 30, 2019 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs found in the application search in workspace issues related to the search-in-workspace
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[search-in-workspace] disable 'replace all' when no results are found
3 participants