Skip to content

Commit 21fa4c0

Browse files
committed
docs: add trigger_on_enter to textbox.md h2oai#372
1 parent 4efddaf commit 21fa4c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/widgets/form/textbox.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ know what they are expected to type. Another common UX error is misusing `placeh
1111
a label which is not correct as the placeholder value should be an example value, e.g. for name field
1212
the placeholder could be `John Doe`.
1313

14-
Note that if `trigger` is specified, the inputs are submitted after `500ms` of no typing activity. This threshold is currently not configurable.
14+
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.
1515

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

0 commit comments

Comments
 (0)