♻️ (bootsier): Renombra form-item a form-field

This commit is contained in:
Manuel Cillero 2026-04-24 22:59:40 +02:00
parent ffba175985
commit 0a975cd32a
3 changed files with 3 additions and 3 deletions

View file

@ -136,7 +136,7 @@ impl Component for Group {
} }
fn setup(&mut self, _cx: &Context) { fn setup(&mut self, _cx: &Context) {
self.alter_classes(ClassesOp::Prepend, "form-item form-item-checkboxes"); self.alter_classes(ClassesOp::Prepend, "form-field form-field-checkboxes");
} }
fn prepare(&self, cx: &mut Context) -> Result<Markup, ComponentError> { fn prepare(&self, cx: &mut Context) -> Result<Markup, ComponentError> {

View file

@ -77,7 +77,7 @@ impl Component for Checkbox {
} }
fn setup(&mut self, _cx: &Context) { 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 { if *self.checkbox_kind() == form::CheckboxKind::Switch {
classes.push_str(" form-switch"); classes.push_str(" form-switch");
} }

View file

@ -126,7 +126,7 @@ impl Component for Group {
} }
fn setup(&mut self, _cx: &Context) { fn setup(&mut self, _cx: &Context) {
self.alter_classes(ClassesOp::Prepend, "form-item form-item-radios"); self.alter_classes(ClassesOp::Prepend, "form-field form-field-radios");
} }
fn prepare(&self, cx: &mut Context) -> Result<Markup, ComponentError> { fn prepare(&self, cx: &mut Context) -> Result<Markup, ComponentError> {