Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1903 Visualizzazioni

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?

Avatar
Abbandona
Risposta migliore

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

Avatar
Abbandona