Hi all,
In my project, I’m currently facing an issue like this:
- I have one field called “JobTitleContract” and one field called “JobTitleContractLocal”.
- “JobTitleContractLocal” is read-only and the value will be updated by code when JobTitleContract is updated and required when “JobTitleContract” has value.
- In case “JobTitleContractLocal” is having an error (like the attachment) and I updated the value of “JobTitleContract”, the error is still there even when I fill the value for it by code already. That’s why I want to trigger the validate for only this field.
- Right now I trigger a “Commands.validateFull()” event after “JobTitleContract” field is updated but it will validate the whole form and that is not the action I want.
- I see there is a function call “Commands.validatePart()” but it cannot solve my problem
Do we have any way to support validate on field in FE side or can you suggest me a better way to do it?
Thank you
