Any way to get screen size in a callback?
Hi all,
Hoping somebody can help me with this one - I'm using a searchable select in one of my forms, and some users have complained that the keyboard doesn't work. It does, but it's a bit tricky, because you have to touch the part that says "Start typing to search...".
I'd like to be able to keep that message for large size screens, but to have it say "click here and start typing to search" or something on md & smaller screens.
My first thought was that I could use a callback in the searchPrompt method, but that suggests I'd need to be able to access the screen size as a variable in the callback... Any suggestions on how I might be able to get this to work?
0 Replies