From 5f5ee46c0219b4d085b0cf82a050aca96a6fad0c Mon Sep 17 00:00:00 2001 From: lit-robot Date: Tue, 24 Oct 2023 18:25:09 +0000 Subject: [PATCH] docs: update API docs --- docs/components/text-field.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/components/text-field.md b/docs/components/text-field.md index b066c7d7230..e87922b69b7 100644 --- a/docs/components/text-field.md +++ b/docs/components/text-field.md @@ -501,6 +501,7 @@ Property | Attribute | Type | Default | Description `supportingText` | `supporting-text` | `string` | `''` | Conveys additional information below the text field, such as how it should be used. `textDirection` | `text-direction` | `string` | `''` | Override the input text CSS `direction`. Useful for RTL languages that use LTR notation for fractions. `rows` | `rows` | `number` | `2` | The number of rows to display for a `type="textarea"` text field. Defaults to 2. +`cols` | `cols` | `number` | `20` | The number of cols to display for a `type="textarea"` text field. Defaults to 20. `inputMode` | `inputmode` | `string` | `''` | `max` | `max` | `string` | `''` | Defines the greatest value in the range of permitted values.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max `maxLength` | `maxlength` | `number` | `-1` | The maximum number of characters a user can enter into the text field. Set to -1 for none.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength @@ -566,6 +567,7 @@ Property | Attribute | Type | Default | Description `supportingText` | `supporting-text` | `string` | `''` | Conveys additional information below the text field, such as how it should be used. `textDirection` | `text-direction` | `string` | `''` | Override the input text CSS `direction`. Useful for RTL languages that use LTR notation for fractions. `rows` | `rows` | `number` | `2` | The number of rows to display for a `type="textarea"` text field. Defaults to 2. +`cols` | `cols` | `number` | `20` | The number of cols to display for a `type="textarea"` text field. Defaults to 20. `inputMode` | `inputmode` | `string` | `''` | `max` | `max` | `string` | `''` | Defines the greatest value in the range of permitted values.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max `maxLength` | `maxlength` | `number` | `-1` | The maximum number of characters a user can enter into the text field. Set to -1 for none.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength