I restrict uploaded file type following official docs. It works fine.
But then I just can't reset it. widget.value(null)
works fine when I need to reset widget after successful uploading, but it doesn't work when I try to clear error message. Is there any way to completely reset widget?
Update: Example on Plunker.