method

JSONField.EditAdmin

EditAdmin updates selected admin settings while preserving the rest.

Arguments

ArgumentTypeDescription
editfunc(*Admin)The edit value.

Returns

The declared result.

JSONField

Full signature

Related types

  • JSONField

    JSONField configures a field for JSON data.

  • Admin

    Admin 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.