♻️ (bootsier): Renombra form-item a form-field
This commit is contained in:
parent
ffba175985
commit
0a975cd32a
3 changed files with 3 additions and 3 deletions
|
|
@ -77,7 +77,7 @@ impl Component for Checkbox {
|
|||
}
|
||||
|
||||
fn setup(&mut self, _cx: &Context) {
|
||||
let mut classes = "form-item form-check".to_string();
|
||||
let mut classes = "form-field form-check".to_string();
|
||||
if *self.checkbox_kind() == form::CheckboxKind::Switch {
|
||||
classes.push_str(" form-switch");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue