Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
1913 Näkymät

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
Hylkää
Paras vastaus

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

Avatar
Hylkää