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: thaw/src/switch/docs/mod.md
+1
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ view! {
15
15
| class |`MaybeProp<String>`|`Default::default()`||
16
16
| id |`MaybeProp<String>`|`Default::default()`||
17
17
| name |`MaybeProp<String>`|`Default::default()`| A string specifying a name for the input control. This name is submitted along with the control's value when the form data is submitted. |
18
+
| value |`MaybeProp<String>`|`Default::default()`| A string specifying the value for the input control. |
18
19
| rules |`Vec<SwitchRule>`|`vec![]`| The rules to validate Field. |
19
20
| checked |`Model<bool>`|`false`| Defines the controlled checked state of the Switch. |
20
21
| label |`MaybeProp<String>`|`Default::default()`| The Switch's label. |
0 commit comments