0

I have a componentized form where I have a different ref for each component and I need to validate these refs once the component is created. The problem is that during the created the refs are undefined and in the mounted the validation is giving an incorrect result for some refs.

one of the refs that gives an error in its validation.

enter image description here

in this method I do some of the validations of the refs.

enter image description here

testing exactly the same validation after mounting, gives the expected result

0 Answers0