prompts
prompts copied to clipboard
Optional number reset
Issues
- resolves #307
- resolves #228
Changes
- Adds a
resetDelay
option to the Number prompt. Updates documentation. - Flashes the input before resetting
- By default, disables the automatic reset behavior. Like others, I think this is more intuitive, but I am open to maintaining the original behavior if this is considered a breaking change.
- Fixes an issue where deleting/erasing number input would not sync the
typed
value. This made it impossible to actually delete input which is now potentially necessary.
Example of 1-second delay with flashing reset:
https://user-images.githubusercontent.com/10541904/148855180-754a142e-28de-4d30-b800-a5164afeb908.mov
Hi everyone, is there any chance we could move further on this issue? Really get troubled :(
Ditto to the above. The issue has been open for over 2 years and this solves it. Can we get it merged?
Bump
Bump
I am using an 8-digit number input, which resets in the middle of typing. Why isn't this PR merged yet?
Is this project no longer maintained? This PR has been open for over 2 years now and there's been no response from the maintainers about adding it or not despite the multiple asks.