Skip to content

Commit

Permalink
Merge pull request #4840 from nextcloud-libraries/fix/noid/checkbox-l…
Browse files Browse the repository at this point in the history
…istener

[next] fix(NcCheckboxRadioSwitch): fix v-on with no argument expects an object value
  • Loading branch information
Pytal authored Nov 16, 2023
2 parents ea0ec1c + 2df344e commit 880ed85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ export default {
class="checkbox-radio-switch"
:style="cssVars"
:type="isButtonType ? 'button' : null"
v-on="isButtonType ? listeners : null">
v-on="isButtonType ? listeners : {}">
<input v-if="!isButtonType"
:id="id"
class="checkbox-radio-switch__input"
Expand Down

0 comments on commit 880ed85

Please sign in to comment.