prompts icon indicating copy to clipboard operation
prompts copied to clipboard

Optional number reset

Open justinseibert opened this issue 3 years ago • 6 comments

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

justinseibert avatar Jan 10 '22 20:01 justinseibert

Hi everyone, is there any chance we could move further on this issue? Really get troubled :(

satouriko avatar May 31 '23 03:05 satouriko

Ditto to the above. The issue has been open for over 2 years and this solves it. Can we get it merged?

mkilpatrick avatar Aug 08 '23 20:08 mkilpatrick

Bump

mkilpatrick avatar Sep 12 '23 20:09 mkilpatrick

Bump

mkilpatrick avatar Nov 22 '23 21:11 mkilpatrick

I am using an 8-digit number input, which resets in the middle of typing. Why isn't this PR merged yet?

sakibul-islam avatar Dec 21 '23 07:12 sakibul-islam

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.

mkilpatrick avatar Feb 07 '24 16:02 mkilpatrick