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

Add search icon placement to HxSearchBox component #772

Merged
merged 3 commits into from
Mar 25, 2024

Conversation

crdo
Copy link
Member

@crdo crdo commented Mar 20, 2024

In this PR, i have added a SearchIconPlacement enum and adjusted the HxSearchBox to be able to set the search icon positiont o left or right.

I have also removed a condition on input where right padding was set only if cear icon was visible. The padding should be set always.

@crdo crdo changed the title #771 Add search icon placement to HxSearchBox component Add search icon placement to HxSearchBox component Mar 20, 2024
@crdo crdo requested a review from hakenr March 20, 2024 21:33
@crdo crdo linked an issue Mar 20, 2024 that may be closed by this pull request
Copy link
Member

@hakenr hakenr left a comment

Choose a reason for hiding this comment

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

lgtm

@hakenr hakenr merged commit a972487 into master Mar 25, 2024
1 check passed
@hakenr hakenr deleted the feature/HxSearchIconPlacement branch March 25, 2024 00:26
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.

[HxSearchBox] To add SearchIconPlacement settings
2 participants