method
CheckboxField.EditAdmin
EditAdmin updates selected admin settings while preserving the rest.
Arguments
| Argument | Type | Description |
|---|---|---|
edit | func(*Admin) | The edit value. |
Returns
The declared result.
CheckboxFieldFull signature
func (f CheckboxField) EditAdmin(edit func(*Admin)) CheckboxFieldRelated types
CheckboxFieldCheckboxField configures a true-or-false checkbox field.
AdminAdmin configures how a field is presented and edited in the framework admin. It never grants API access or changes storage behavior; use Access for authorization. A field's Admin method replaces the complete group, while EditAdmin preserves members its callback does not change. Ridu snapshots maps on input and output so retained drafts cannot mutate a published field.