frzyc / genshin-optimizer

An Artifact optimizer for Genshin Impact.
https://frzyc.github.io/genshin-optimizer/
MIT License
750 stars 218 forks source link

Update NumberInputLazy to select the text automatically #2176

Closed nguyentvan7 closed 1 month ago

nguyentvan7 commented 1 month ago

When a user selects the numbers in these fields, it is typically to overwrite the values, rather than append to it. It would be nice if these fields automatically selected the whole text so a user just has to type to overwrite, rather than select, delete, then start typing

artloren commented 1 month ago

I can take a look! Been working with NumberInputLazy for a bit so shouldn't be too hard.