Skip to content

Commit

Permalink
fix(NcCheckboxRadioSwitch): fix v-on with no argument expects an obje…
Browse files Browse the repository at this point in the history
…ct value

Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
  • Loading branch information
raimund-schluessler committed Nov 16, 2023
1 parent ea0ec1c commit 2df344e
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 2df344e

Please sign in to comment.