Multiple models in CRUD

Can LUYA handle several models simultaneously when creating or updating data in admin area via ngRest CRUD?

You mean like having multiple models but a single “save” button and form. No this has not been done yet, but maybe you can use ngRestExtraAttributeTypes along with $attributes (defined as property in the class) in order to validate and process another model within the “main” model. But in terms of relation models, there are relation modals which allows you to create reference models and select them afterwards (but i assume this is something you already know, its that modal button next to the selcts when using SelectRelationActiveQuery).

1 Like