Note that this componenet is no longer maintained.
Search bar custom component for universal dashboard
How to use.
Call using New-DudSearch.
You can set the initial text (-text), although it won't apply the filtering. Default placeholder is 'Seach...' but you can configure it through parameter of same name.
It support 2 bindings. OnChange and OnEnter.
OnChange will be triggered each time a character is typed while OnEnter will only trigger once enter key is pressed.
See the demo files in order to see how to integrate it into your project.
This component was tested against Universal Dashboard 2.5.3
To see it in action: https://forums.universaldashboard.io/t/simple-searchbar-for-ud/1149