We have a UI to allocate resource:
In the UI, users must check a box to enable the textbox. They can then enter any integer between 1 and the amount remaining. If the box is checked, the user must enter a number to save the form.
It's fairly common for the Remaining number to be 1, meaning if they check the box, they would have to enter the number 1 or uncheck the box to submit the form.
In situations where there are more than 1 remaining, there isn't a good way to guess what number they might want.
My question is, does it make sense to auto-fill with the number 1 when:
- There is only one item remaining (since it's the only option)
- When there are multiple items remaining (to be consistent)
Or, alternatively, would a different input method (number picker, dropdown) with a default of 1 be better? The max numbers are most frequently small, like 1-3, but can be larger, like 25 or 50.