From 6f744815ab387d57a69b6c76c8084719d7378ed8 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Wed, 7 Apr 2021 13:43:28 -0700 Subject: [PATCH] Make corrections to TextInput docs Close #1977 --- packages/docs/src/pages/docs/components/text-input.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/docs/src/pages/docs/components/text-input.md b/packages/docs/src/pages/docs/components/text-input.md index 809b55df..1effd659 100644 --- a/packages/docs/src/pages/docs/components/text-input.md +++ b/packages/docs/src/pages/docs/components/text-input.md @@ -71,7 +71,7 @@ Equivalent to [HTMLElement.dataset](https://developer.mozilla.org/en-US/docs/Web The initial value of the input. Useful for simple use-cases where you don't want to deal with listening to events and updating the value prop to keep the controlled state in sync. {% endcall %} -{% call macro.prop('direction', '?("auto" | "ltr" | "rtl") = "auto"') %} +{% call macro.prop('dir', '?("auto" | "ltr" | "rtl") = "auto"') %} Equivalent to [HTMLElement.dir](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dir) {% endcall %} @@ -140,7 +140,6 @@ Callback that is called when the keyboard's submit button is pressed. When `mult {% endcall %} - {% call macro.prop('placeholder', '?boolean') %} Text that appears in the form control when it has no value set. {% endcall %} @@ -149,10 +148,6 @@ Text that appears in the form control when it has no value set. Equivalent to defining `::placeholder { color }` via a CSS property. {% endcall %} -{% call macro.prop('required', '?boolean') %} -Equivalent to [HTMLElement.required](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/required) -{% endcall %} - {% call macro.prop('returnKeyType', '?string') %} Specifies what action label (or icon) to present for the enter key on virtual keyboards. Equivalent to [HTMLElement.enterkeyhint](https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-enterkeyhint-attribute) {% endcall %}