h2oai / wave

Realtime Web Apps and Dashboards for Python and R
https://wave.h2o.ai
Apache License 2.0
3.9k stars 323 forks source link

Allow scientific notation in spinbox #2239

Open pascal-pfeiffer opened 5 months ago

pascal-pfeiffer commented 5 months ago

Is your feature request related to a problem? Please describe

With very large or very small numbers, the values in the spinbox get harder to read: image

Describe the solution you'd like

I believe, allowing input in scientific notation (E-notation, e.g. 1.2E-7) and automatically converting large or small values to that will improve readability.

Describe alternatives you've considered

Custom textboxes, but they are not as handy as spinboxes for numbers.

Additional context

related: https://github.com/h2oai/wave/issues/1525