Hi Isomorphic team,
I have a form with an uploadItem. This form is embedded into an upper principal form through a CanvasItem. If the file given to the uploadItem does fit some specific characteristics, I want the form to display an error near the CanvasItem (and block any principal form submit). To do that, I use setFieldErrors() on my embedded form when the file is not correct and clearError() when it is correct. The red tag is displayed or not as expected. But the uploadItem text part is cleared. Can you tell me why? And there is a way to avoid this?
I have a form with an uploadItem. This form is embedded into an upper principal form through a CanvasItem. If the file given to the uploadItem does fit some specific characteristics, I want the form to display an error near the CanvasItem (and block any principal form submit). To do that, I use setFieldErrors() on my embedded form when the file is not correct and clearError() when it is correct. The red tag is displayed or not as expected. But the uploadItem text part is cleared. Can you tell me why? And there is a way to avoid this?
Comment