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
Currently, if you start typing, your text is rendered after the default value, which the user presumably has already decided that he does not care. The main issue for me is that if the default value is really long(see example below), the new value can easily─and unnecessarily─wrap onto the next line.
I could, as choice 3 states, press delete first and then start typing, but why not just clear the default value automatically? I think it's reasonable that the user has only one chance to accept the default value by pressing enter; press anything else, your answer counts!
The text was updated successfully, but these errors were encountered:
For prompt type
input
, if the prompt has a default value, it is shown after the prompt in parentheses, followed by the cursor.The user only has 3 choices here (and only 2 until recently):
Currently, if you start typing, your text is rendered after the default value, which the user presumably has already decided that he does not care. The main issue for me is that if the default value is really long (see example below), the new value can easily─and unnecessarily─wrap onto the next line.
I could, as choice 3 states, press delete first and then start typing, but why not just clear the default value automatically? I think it's reasonable that the user has only one chance to accept the default value by pressing enter; press anything else, your answer counts!
The text was updated successfully, but these errors were encountered: