You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using a FileControl, and when using any of the exposed mechanisms to clear the value of the input (e.g. FieldInteractionAPI.setValue, NovoFormGroup.patchValue, NovoFormGroup.reset) the UI is not properly updated and the name of the previously selected stays visible. This only appears
To Reproduce
Steps to reproduce the behavior:
Render a FileControl in a NovoFormGroup
Render a button with a (click) handler, that when you click the button runs the code this.form.patchValue({ file: undefined // can also try and empty array or empty string, same result })
Select a file in the FileControl, then click the button
Expected behavior
The file should be cleared in the UI and it's name should not be displayed
Actual behavior
The name of the file is still displayed in the UI
Specifications
Version: Current
Platform: Windows Chrome
Screenshots
The text was updated successfully, but these errors were encountered:
Describe the bug
When using a FileControl, and when using any of the exposed mechanisms to clear the value of the input (e.g. FieldInteractionAPI.setValue, NovoFormGroup.patchValue, NovoFormGroup.reset) the UI is not properly updated and the name of the previously selected stays visible. This only appears
To Reproduce
Steps to reproduce the behavior:
this.form.patchValue({ file: undefined // can also try and empty array or empty string, same result })
Expected behavior
The file should be cleared in the UI and it's name should not be displayed
Actual behavior
The name of the file is still displayed in the UI
Specifications
Screenshots
The text was updated successfully, but these errors were encountered: