premieroctet/next-admin

[FEATURE] - Conditional rendering

cregourd opened this issue · 1 comments

Summary

Add possibility to hide/show fields in form based on (model) => boolean function in options

Basic Example

fields: {
   example: {
      visible: (model) => model.show_example
   }
}

Drawbacks

No response

Unresolved questions

No response

Available in v5.3.0