You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/components/color-picker.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ Use the `opacity` attribute to enable the opacity slider. When this is enabled,
36
36
37
37
Set the color picker's format with the `format` attribute. Valid options include `hex`, `rgb`, `hsl`, and `hsv`. Note that the color picker's input will accept any parsable format (including CSS color names) regardless of this option.
38
38
39
-
To prevent users from toggling the format themselves, add the `no-format-toggle` attribute.
39
+
To prevent users from toggling the format themselves, add the `without-format-toggle` attribute.
Copy file name to clipboardExpand all lines: docs/docs/components/select.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,10 +61,10 @@ Use the `placeholder` attribute to add a placeholder.
61
61
62
62
### Clearable
63
63
64
-
Use the `clearable` attribute to make the control clearable. The clear button only appears when an option is selected.
64
+
Use the `with-clear` attribute to make the control clearable. The clear button only appears when an option is selected.
65
65
66
66
```html {.example}
67
-
<wa-selectclearablevalue="option-1">
67
+
<wa-selectwith-clearvalue="option-1">
68
68
<wa-optionvalue="option-1">Option 1</wa-option>
69
69
<wa-optionvalue="option-2">Option 2</wa-option>
70
70
<wa-optionvalue="option-3">Option 3</wa-option>
@@ -109,10 +109,10 @@ Use the `disabled` attribute to disable a select.
109
109
110
110
### Multiple
111
111
112
-
To allow multiple options to be selected, use the `multiple` attribute. It's a good practice to use `clearable` when this option is enabled. To set multiple values at once, set `value` to a space-delimited list of values.
112
+
To allow multiple options to be selected, use the `multiple` attribute. It's a good practice to use `with-clear` when this option is enabled. To set multiple values at once, set `value` to a space-delimited list of values.
113
113
114
114
```html {.example}
115
-
<wa-selectlabel="Select a Few"value="option-1 option-2 option-3"multipleclearable>
115
+
<wa-selectlabel="Select a Few"value="option-1 option-2 option-3"multiplewith-clear>
116
116
<wa-optionvalue="option-1">Option 1</wa-option>
117
117
<wa-optionvalue="option-2">Option 2</wa-option>
118
118
<wa-optionvalue="option-3">Option 3</wa-option>
@@ -142,7 +142,7 @@ Use the `value` attribute to set the initial selection.
142
142
When using `multiple`, the `value`_attribute_ uses space-delimited values to select more than one option. Because of this, `<wa-option>` values cannot contain spaces. If you're accessing the `value`_property_ through Javascript, it will be an array.
0 commit comments