Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
1918 Vizualizări

Hello,

I have a section for Previos School in a form in the form of tree. It has no required field. When i save it it save an empty record also. how can i solve this?

Imagine profil
Abandonează
Cel mai bun răspuns

override the create method and check at least one field has value otherwise raise the error.

Imagine profil
Abandonează