You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'm building a password generator TUI app with huh forms and this app offers multiple parameters to tweak.
One of the parameters that users can tweak is the length of a password.
With the Input field, it's possible to enter a number, but it's also possible to enter any other character.
Describe the solution you'd like
It would be great, if input field will have a type="number", with the ability to provide minimum and maximum value.
It would be nice to increment this field with arrow keys on a keyboard.
Describe alternatives you've considered
I can validate input, to ensure that user entered a number. But it's not a great user experience, unfortunately.
This discussion was converted from issue #571 on March 14, 2025 12:38.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
I'm building a password generator TUI app with huh forms and this app offers multiple parameters to tweak.
One of the parameters that users can tweak is the length of a password.
With the Input field, it's possible to enter a number, but it's also possible to enter any other character.
Describe the solution you'd like
It would be great, if input field will have a type="number", with the ability to provide minimum and maximum value.
It would be nice to increment this field with arrow keys on a keyboard.
Describe alternatives you've considered
I can validate input, to ensure that user entered a number. But it's not a great user experience, unfortunately.
Beta Was this translation helpful? Give feedback.
All reactions