Hello Community!
Is posible get a field in js from detail before save them? I need them to make a validation before save.
I'm using BaseFildsDetail.
Regards,
Like
3 comments
15:37 Apr 30, 2018
You need to override the saveAsyncValidate method on the page and read the value from the database via ESQ in the method. Then you need to send the validation result on callback of the ESQ. You an find an example in the BaseEntityPage module in the saveAsyncValidate method.
22:46 May 31, 2018
Eugene Podkovka,
I'm using a field detail so the detail field is wait to save when the edit page is save. Is posible save the detail before save the edit page?
15:24 Jun 01, 2018
I don't know what is "field detail". If you are about an editable grid, then the previous answer will work.
Show all comments