File tree Expand file tree Collapse file tree 3 files changed +15
-15
lines changed
source/_patterns/01-elements/select Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 66 {{ #if aria-invalid }} aria-invalid =" {{ aria-invalid }} " {{ /if }}
77 {{ #if variant }} data-variant =" {{ variant }} " {{ /if }} >
88 {{ #if optgroup }} <optgroup label =" Devices" >{{ else }} {{ #unless multiple }} <option ></option >{{ /unless }}{{ /if }}
9- <option value =" Row 1 " >Smartphone</option >
10- <option >Softphone</option >
11- <option >Headphone </option >
12- <option disabled>Row 4 / disabled</option >
9+ <option value =" smartphone " >Smartphone</option >
10+ <option value = " softphone " >Softphone</option >
11+ <option value = " headset " >Headset </option >
12+ <option value = " fax " disabled>Fax / disabled</option >
1313 {{ #if optgroup }}
1414 </optgroup >
1515 <optgroup label =" Roles" >
16- <option >User</option >
17- <option >Tester</option >
18- <option >Developer</option >
16+ <option value = " user " >User</option >
17+ <option value = " tester " >Tester</option >
18+ <option value = " developer " >Developer</option >
1919 </optgroup >{{ /if }}
2020</select >
2121<label class =" elm-label" for =" {{ id }} " >{{ label }} </label >
Original file line number Diff line number Diff line change 33 {
44 "variant" : " semitransparent" ,
55 "id" : " select01" ,
6- "label" : " Select label "
6+ "label" : " Devices "
77 },
88 {
99 "variant" : " white" ,
1010 "id" : " select02" ,
11- "label" : " Select label "
11+ "label" : " Devices "
1212 },
1313 {
1414 "variant" : " solid" ,
1515 "id" : " select03" ,
16- "label" : " Select label "
16+ "label" : " Devices "
1717 },
1818 {
1919 "variant" : " outline" ,
2020 "id" : " select04" ,
21- "label" : " Select label "
21+ "label" : " Devices "
2222 }
2323 ]
2424}
Original file line number Diff line number Diff line change 33 {
44 "variant" : " semitransparent" ,
55 "id" : " select09" ,
6- "label" : " Select label " ,
6+ "label" : " Devices/Roles " ,
77 "optgroup" : true
88 },
99 {
1010 "variant" : " white" ,
1111 "id" : " select10" ,
12- "label" : " Select label " ,
12+ "label" : " Devices/Roles " ,
1313 "optgroup" : true
1414 },
1515 {
1616 "variant" : " solid" ,
1717 "id" : " select11" ,
18- "label" : " Select label " ,
18+ "label" : " Devices/Roles " ,
1919 "optgroup" : true
2020 },
2121 {
2222 "variant" : " outline" ,
2323 "id" : " select12" ,
24- "label" : " Select label " ,
24+ "label" : " Devices/Roles " ,
2525 "optgroup" : true
2626 }
2727 ]
You can’t perform that action at this time.
0 commit comments