Skip to content

Commit

Permalink
wip: adds
Browse files Browse the repository at this point in the history
  • Loading branch information
gokh4nozturk committed Oct 10, 2022
1 parent 0c864c1 commit 14c9718
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/Button/Button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ const style = computed(() => ({
</script>
<template>
<button
v-bind="$attrs"
:type="type || 'button'"
:class="classes"
:style="style"
Expand Down
3 changes: 2 additions & 1 deletion src/components/Checkbox/Checkbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,11 @@ const onChange = () => {
<label :for="props.id || 'checkbox'">
{{ props.label }}
<input
:id="props.id || 'checkbox'"
v-bind="$attrs"
type="checkbox"
v-model="state.checked"
:indeterminate.prop="props.indeterminate"
:id="props.id || 'checkbox'"
@change="onChange"
/>
<div v-if="!icon?.length" class="checkbox checkbox--empty" />
Expand Down

0 comments on commit 14c9718

Please # to comment.