diff options
Diffstat (limited to 'doc/development/fe_guide/droplab/plugins/input_setter.md')
-rw-r--r-- | doc/development/fe_guide/droplab/plugins/input_setter.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/development/fe_guide/droplab/plugins/input_setter.md b/doc/development/fe_guide/droplab/plugins/input_setter.md index ab8a5cebd08..a3c073520cb 100644 --- a/doc/development/fe_guide/droplab/plugins/input_setter.md +++ b/doc/development/fe_guide/droplab/plugins/input_setter.md @@ -1,7 +1,7 @@ --- stage: none group: unassigned -info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#designated-technical-writers +info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments --- # InputSetter plugin @@ -67,6 +67,6 @@ element's `data-selected-id` to `1`. Optionally, you can set `inputAttribute` to a string that's the name of an attribute on your `input` element that you want to update. If you don't provide -an `inputAttribute`, `InputSetter` will update the `value` of the `input` +an `inputAttribute`, `InputSetter` updates the `value` of the `input` element if it's an `INPUT` element, or the `textContent` of the `input` element if it isn't an `INPUT` element. |