Adds the ability to disable individual input boxes
This commit is contained in:
parent
d3def49523
commit
339ff51666
2
dist/index.js
vendored
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
@ -95,7 +95,7 @@
|
|||||||
v-if="type === 'radio'"
|
v-if="type === 'radio'"
|
||||||
@blur="setBlurState"
|
@blur="setBlurState"
|
||||||
@focus="setFocusState"
|
@focus="setFocusState"
|
||||||
:disabled="disabled"
|
:disabled="disabled || option.disabled"
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
@ -109,7 +109,7 @@
|
|||||||
v-if="type === 'checkbox'"
|
v-if="type === 'checkbox'"
|
||||||
@blur="setBlurState"
|
@blur="setBlurState"
|
||||||
@focus="setFocusState"
|
@focus="setFocusState"
|
||||||
:disabled="disabled"
|
:disabled="disabled || option.disabled"
|
||||||
>
|
>
|
||||||
<label
|
<label
|
||||||
:for="option.id"
|
:for="option.id"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user