File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 153153 placeholder =" Please select"
154154 />
155155 <CFormSelect
156- label =" Select "
156+ label =" Large select "
157157 size =" lg"
158158 horizontal
159- :options =" options"
159+ :value.sync =" selectedOption"
160+ :options =" selectOptions"
160161 placeholder =" Please select"
161162 />
162163 <CFormSelect
163- label =" Select "
164+ label =" Small select "
164165 size =" sm"
165166 horizontal
166167 :options =" options"
@@ -843,6 +844,11 @@ export default {
843844 testkkk: 2 ,
844845 horizontal: { label: ' col-3' , input: ' col-9' },
845846 options: [' Option 1' , ' Option 2' , ' Option 3' ],
847+ selectOptions: [
848+ ' Option 1' , ' Option 2' , ' Option 3' ,
849+ { value: [' some value' , ' another value' ], label: ' Option 4' }],
850+ selectedOption: [' some value' , ' another value' ],
851+
846852 formCollapsed: true ,
847853 checkboxNames: [' Checkboxes' , ' Inline Checkboxes' ,
848854 ' Checkboxes - custom' , ' Inline Checkboxes - custom' ],
You can’t perform that action at this time.
0 commit comments