Float user input

Hi all,

I apologise if I haven’t seen this in grafana or found a similar post on the forums but is there a way to restrict a text box to only accept float or integer input? I’m using a text box variable currently but only expect the user to enter a number.

Thanks!

Thank you so much! That’s a fantastic solution and I didn’t even know that this plugin existed. I had chatgpt generate me a comma seperated list of 0.0 to 99.9. My only question is does the panel allow for the user to enter a number in addition to using the slider? So if the user wanted to use 30.3 specifically, could they enter that into the panel or would they need to use the slider to get that value?

1 Like

you could do that with business text and html stuff