vuetify 3, cannot clear v-file-input in a custom component #4481
Closed
jankrnavek
started this conversation in
General
Replies: 2 comments
-
Create a v-model for your file-input component and on click of the button use refs to refer to your customInputFields's v-model value and set it as null |
Beta Was this translation helpful? Give feedback.
0 replies
-
It helped . I din't think of that. Thanks... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an issue in vuetify 3, I cannot clear v-file-input in a custom component.
A clear icon in field is working.
Where is a problem?
Thank you in advance.
https://play.vuetifyjs.com/#eNqlV21v2zYQ/iuEMMDOppdlzTbASDcnWYJ1mJciafqlLgZaom3GFKmRlBvDyH/fHSnJlJ22BgoEiHh3PD587nh3/rCNjM6zi6pK1zWLRtG5ZWUlqGW/TSUh5+uEVpX7dItcSUu5ZLoRgfCqNlaVb2RV2xvOREEkLdnraTTngk0jIuiMCVhONo0gF4xqOhOMZOCkc7NOZlaSXAmlwVqzIimoXjGZnMGecS54vnJyw+yN0uVwu6aiZmZEbm7vJv/+cX1z8fD3u+eTadQhI/4oMneo3E4yh63dkZk78wBEuJ8aA6eWIvl5GgXyF1Hu9B1cBIunv0eswwEyMIiJrIUAoK39ZwAjXHfHQ7ztqh8NlPhgnWdBEGFpcs0rix5rH0teVkpb8j2hhmzqisy1KskAvgaBdguczclzo4Ts6CtrwzAQOwPGEsDLCzg2tDzID2+eZvsKTEDYiFvhYsb6yN5f/Xk9uSCvEWeqZo8st8OT1CxpxYZbTwXSOnL6kj+xAtRS2Tv2X80hQMOTGK0gM/Y9NzkDrnt+MDp+S7ijMSmZpSOXRRP4cmaEMK2VhkxE8bX7bhRtiqLCpUCrWFJZCHZfz0pue6I7zNJG0uV6s+4lUyPjxjuxXC48aLhOE5mWniYoXMn7fMlKwB8Qu0PqAncrJ6qWFiBTYbpDJLecCn+D/oPruD3PfJJBekVxZA2wNueL9NEoCUXFIZlGuSor4FjfVojGTKNRy+s0okKoT385mdXd/WDPkuWrF+SP5gll0+gt8qTXUFo6na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