HintText for the SearchBar
Is it possible to have a HintText 'like' attribute on the SearchBar? Just like it we can do with Text Forms?
2 Answers
-
Accepted Answer
This is not implented (yet) but you can try this:
give the searchbar a default value, then create a focus eventlistner on teh searchbar and delete the default value (just make it empty).
its a bit more coding, but i think it will do the trick also.
-
Thanks Glenn, that's exactly what I did :-)