vmware-clarity / core

Clarity is a scalable, accessible, customizable, open-source design system built with web components. Works with any JavaScript framework, created for enterprises, and designed to be inclusive.
https://clarity.design
MIT License
164 stars 42 forks source link

Reset cds-file input #256

Open manuelaternes opened 1 year ago

manuelaternes commented 1 year ago

Summary

I am trying to reset the value of the file after uploading it, for example. However, when trying to clear this field in several ways, I did not find any that work. Is there any method or suggestion to reset the value without using the component's clear button?