diff --git a/content/docs/fields/_index.md b/content/docs/fields/_index.md index a32a920..459fec1 100644 --- a/content/docs/fields/_index.md +++ b/content/docs/fields/_index.md @@ -6,28 +6,6 @@ weight: 4 A field represents a field in a form. -## Struct - -```golang -type Field struct { - Name string - Widget string - Data any - Options []*Option - Children []*Field - Constraints []validation.Constraint - Errors []validation.Error - PrepareView func() map[string]any - BeforeMount func(data any) (any, error) - BeforeBind func(data any) (any, error) - Validate func(f *Field) bool - IsSlice bool - IsFixedName bool - Form *Form - Parent *Field -} -``` - ## Fields ```golang