File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed
Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ const isRequired = computed(() =>
3535 v-model =" model"
3636 :value =" option.value"
3737 :input-id =" option.value"
38+ :disabled =" option.disabled"
3839 v-bind =" { ...$attrs, ...props.input.props }"
3940 />
4041 <label :for =" option.value" >{{ option.label }}</label >
Original file line number Diff line number Diff line change 146146 "description" : " Select one or more options." ,
147147 "placeholder" : " Choose options" ,
148148 "choices" : [
149- { "label" : " Option 1" , "value" : " option1" },
149+ {
150+ "label" : " Option 1" ,
151+ "value" : " option1" ,
152+ "disabled" : true
153+ },
150154 { "label" : " Option 2" , "value" : " option2" }
151- ]
155+ ],
156+ "defaultValue" : " option1" ,
157+ "props" : {
158+ "defaultValue" : [" option1" ]
159+ }
152160 }
153161 }
154162 }
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ export interface IFile {
2121export interface InputChoice {
2222 label : string // Display label for the choice
2323 value : string // Value associated with the choice
24+ disabled : boolean
2425 src : string // Source path or URL related to the choice
2526}
2627
You can’t perform that action at this time.
0 commit comments