mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
fix: Fixes input trigger on right mouse click (#4414)
* Fixed input trigger on right mouse click * Resolved comments
This commit is contained in:
parent
49f9ce6022
commit
7f429b7b74
1 changed files with 2 additions and 2 deletions
|
@ -293,9 +293,9 @@ export default {
|
|||
}
|
||||
}
|
||||
},
|
||||
onBasicUploaderClick() {
|
||||
onBasicUploaderClick(event) {
|
||||
if (this.hasFiles) this.upload();
|
||||
else this.$refs.fileInput.click();
|
||||
if (event.button === 0) this.$refs.fileInput.click();
|
||||
},
|
||||
remove(index) {
|
||||
this.clearInputElement();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue