-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the behavior of --value
is non-obvious
#29
Comments
[redacted after discovering |
Turns out this is actually a documentation problem, not a code problem
Suggested changes:the help docs say
they fail to note 3 important things:
the tutorial needs to be modified because this example will never work as intended. The
Maybe this is indicative of past behavior that somehow got lost? I still think |
--value
is non-obvious
These value names and their behavior (like how https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder |
@polm This is a great point: The |
i believe this ticket has been closed prematurely: even if you don't change anything about the naming or behavior , there's still the outstanding problems noted above of missing documentation and the example that can't possibly work. |
We can definitely document this behaviour 👍 The example works correctly, the placeholder value will show up if the value (that is pre-filled) is deleted by the user, as shown in the example. |
[edit] this was a ticket proposing the addition of a
--default
option. It turns out that that was user error / ignorance on my part BUT the documentation should still be improved to make it clear what--value
does and how it behaves. (see comment below)The text was updated successfully, but these errors were encountered: