havit / Havit.Blazor

Free Bootstrap 5 components for ASP.NET Blazor + optional enterprise-level stack for Blazor development (gRPC code-first, layered architecture, localization, auth, ...)
https://havit.blazor.eu
MIT License
475 stars 66 forks source link

Add search icon placement to HxSearchBox component #772

Closed crdo closed 5 months ago

crdo commented 5 months ago

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.