Skip to content

Commit 7a55533

Browse files
allan-chencopybara-github
authored andcommitted
docs(select): remove helper persistent from docs
closes #1838 PiperOrigin-RevId: 333577622
1 parent d2bb58f commit 7a55533

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

packages/select/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,14 +181,14 @@ focused:
181181
--mdc-list-side-padding: 30px;
182182
}
183183
</style>
184-
<mwc-select helperPersistent helper="Helper Text" label="styled">
184+
<mwc-select helper="Helper Text" label="styled">
185185
<mwc-list-item></mwc-list-item>
186186
<mwc-list-item selected value="0">Item 0</mwc-list-item>
187187
<mwc-list-item value="1">Item 1</mwc-list-item>
188188
<mwc-list-item value="2">Item 2</mwc-list-item>
189189
<mwc-list-item value="3">Item 3</mwc-list-item>
190190
</mwc-select>
191-
<mwc-select outlined helperPersistent helper="Helper Text" label="styled">
191+
<mwc-select outlined helper="Helper Text" label="styled">
192192
<mwc-list-item></mwc-list-item>
193193
<mwc-list-item selected value="0">Item 0</mwc-list-item>
194194
<mwc-list-item value="1">Item 1</mwc-list-item>
@@ -219,8 +219,7 @@ Name | Type | Default |
219219
`icon` | `string` | `""` | Leading icon to display in select. See [`mwc-icon`](https://github.com/material-components/material-components-web-components/tree/master/packages/icon). _Note_: for proper list spacing, each list item must have `graphic="icon"` or `graphic="avatar"` to be set.
220220
`disabled` | `boolean` | `false` | Whether or not the select should be disabled.
221221
`outlined` | `boolean` | `false` | Whether or not to show the material outlined variant.
222-
`helper` | `string` | `""` | Helper text to display below the select. Display default only when focused.
223-
`helperPersistent` | `boolean` | `false` | Always show the helper text despite focus.
222+
`helper` | `string` | `""` | Helper text to display below the select. Always displays by default.
224223
`required` | `boolean` | `false` | Displays error state if value is empty and select is blurred.
225224
`validationMessage` | `string` | `""` | Message to show in the error color when the select is invalid. (Helper text will not be visible)
226225
`selected` | `ListItemBase`\|`null` | `null` | Selected list item element.

0 commit comments

Comments
 (0)