Open fabiospampinato opened 1 year ago
I’ve been thinking of having two rows in the input modal. One for the input and a smaller one below for providing a way to show results.
I've been wanting to implement "switch to window by name" for a while in my Phoenix scripts... This would be perfect.
It'd be awesome if one could render both the placeholder and the user string at the same time, one of top of the other, with perfect alignment, but different colors.
My use case: I'd like to build myself a super minimal Spotlight-like search bar for opening applications, since for whatever reason Spotlight is broken for me in that regard, and if I were able to render both texts at the same time in an input modal then I could definitely use that to build my spotlight. Basically the idea is to use the placeholder text as a sort of autocomplete, after the user has typed something.