method
OutputField.EditAdmin
EditAdmin updates selected admin settings while preserving the rest.
Arguments
| Argument | Type | Description |
|---|---|---|
edit | func(*Admin) | The edit value. |
Returns
The declared result.
OutputFieldFull signature
func (f OutputField) EditAdmin(edit func(*Admin)) OutputFieldRelated types
OutputFieldOutputField configures a computed response value that cannot be set by a write request.
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.