Skip to content

Commit

Permalink
docs: add trigger_on_enter to textbox.md h2oai#372
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolapps committed Dec 9, 2022
1 parent 4efddaf commit 21fa4c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/widgets/form/textbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ know what they are expected to type. Another common UX error is misusing `placeh
a label which is not correct as the placeholder value should be an example value, e.g. for name field
the placeholder could be `John Doe`.

Note that if `trigger` is specified, the inputs are submitted after `500ms` of no typing activity. This threshold is currently not configurable.
Note that if `trigger` is specified, the inputs are submitted after `500ms` of no typing activity. This threshold is currently not configurable. You can also use the `trigger_on_enter` option so that users can submit by pressing the <kbd>Enter</kbd> key.

The `name` attribute indicates how to reference this component in the query arguments: `q.args.<name-attr>`.

Expand Down

0 comments on commit 21fa4c0

Please sign in to comment.