enso/app/gui2/stories/histoire
Ilya Bogdanov a3873b9565
Numeric input widget (#8837)
Closes #8751
Closes #8752

- The numeric widget allows the use of the input field after clicking with LMB
- Slider is only visible if the engine provides widget configuration with set limits (see below for testing)
- Setting value outside limits is possible
- For now, to distinguish drag from click, we compare relative mouse movement on the mouse up event. We might benefit from using a timer instead, but let’s see how good it is now.
- Changes after demo
- No more input validation. You can enter literally anything and it would be accepted.
- Updates debouncing – the code is updated on defocus or when slider dragging has finished.


https://github.com/enso-org/enso/assets/6566674/b3580083-c678-4734-881c-97f8ac56176b
2024-01-25 09:41:37 +00:00
..
CustomBackground.vue Numeric input widget (#8837) 2024-01-25 09:41:37 +00:00
HstCode.vue [gui2] Component demos (#7945) 2023-10-29 19:02:07 +00:00
HstDirectory.vue Read custom visualizations (#8180) 2023-11-03 20:09:45 +00:00
HstFile.vue [gui2] Component demos (#7945) 2023-10-29 19:02:07 +00:00
HstWrapper.vue [gui2] Component demos (#7945) 2023-10-29 19:02:07 +00:00
utils.ts [gui2] Component demos (#7945) 2023-10-29 19:02:07 +00:00