method
UploadField.EditAdmin
EditAdmin updates selected admin settings while preserving the rest.
Arguments
| Argument | Type | Description |
|---|---|---|
edit | func(*Admin) | The edit value. |
Returns
The declared result.
UploadFieldFull signature
func (f UploadField) EditAdmin(edit func(*Admin)) UploadFieldRelated types
UploadFieldUploadField configures a link to one file in the target upload collection.
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.