Hi Sudiksha Wandre,
You are using to take the values from association you should valid the filed using the appropriate association. I think you are validating attribute not an association make a try of it.
Hello Sudiksha Wandre,
If you are doing validation using microflow/nanoflow use it inside on change event instead of on leave or enter, this will solve your problem.
If you are using page/form validation this won’t be an issue.
Hope my answer helps. Reach me out for any queries.