
How do you use datalists in roll20? Do you need any CSS to get them to work?
I have the following
I just get an empty input, which functions exactly like an input, with the list of data shown fully before it.
How do you use datalists in roll20? Do you need any CSS to get them to work?
I have the following
I just get an empty input, which functions exactly like an input, with the list of data shown fully before it.
Never mind - I somehow had legacy set to true on the character sheet I was testing. It's working!
That said, it's not showing the full list the way a select does. When you first click in the box, it's empty, then when you type a letter it shows a dropdown of all values containing that letter.
Is there a way to get it to show all values in the list, until you start typing?
GiGs said:
Is there a way to get it to show all values in the list, until you start typing?
If you select an empty input, it should show as dropdown all the options(might be a fraction of a second delay before dropdown appears). That's what happens for me on firefox.
As usual, the wiki have examples: https://wiki.roll20.net/CSE#Datalist
Interesting. It seems the list only appears if I click twice.
If I click once to select the input, nothing appears, and then if I click in the box again while it already has focus, the list appears.
Is that how it normally works?
No delay of any length causes it to appear, it needs that second click. I'm on Firefox too.