Features and usability: questions of curiosity and suggestions #540
johnperry-math
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
It is not required to trigger the event in orther to get back the widget result. You can simply use get_value on python side. So, if you need the value of all the widgets in a form, call get_value for each one. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've noticed a few things about some keyboard interaction and text inputs that prompt questions.
Mere curiosity
textareafor single-line text input, rather than just aninputwithtype=text?Enhanced features
oninput(I think?) returned more than just thevalue. For backward compatibility, though, I'm not sure this is feasible.request_focus()method that wraps the.focus()method for HTML elements would be very convenient. Consider a document with multipleTextInputs; whenonchangeoccurs in one, the handler could automatically focus on the next one, rather than forcing the user to do that somehow.Sliderwidget is focused, it makes sense to have it respond toonkeydown; I have anExtendedSliderthat uses this to:Beta Was this translation helpful? Give feedback.
All reactions