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 6
6
{{ #if aria-invalid }} aria-invalid =" {{ aria-invalid }} " {{ /if }}
7
7
{{ #if variant }} data-variant =" {{ variant }} " {{ /if }} >
8
8
{{ #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 >
13
13
{{ #if optgroup }}
14
14
</optgroup >
15
15
<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 >
19
19
</optgroup >{{ /if }}
20
20
</select >
21
21
<label class =" elm-label" for =" {{ id }} " >{{ label }} </label >
Original file line number Diff line number Diff line change 3
3
{
4
4
"variant" : " semitransparent" ,
5
5
"id" : " select01" ,
6
- "label" : " Select label "
6
+ "label" : " Devices "
7
7
},
8
8
{
9
9
"variant" : " white" ,
10
10
"id" : " select02" ,
11
- "label" : " Select label "
11
+ "label" : " Devices "
12
12
},
13
13
{
14
14
"variant" : " solid" ,
15
15
"id" : " select03" ,
16
- "label" : " Select label "
16
+ "label" : " Devices "
17
17
},
18
18
{
19
19
"variant" : " outline" ,
20
20
"id" : " select04" ,
21
- "label" : " Select label "
21
+ "label" : " Devices "
22
22
}
23
23
]
24
24
}
Original file line number Diff line number Diff line change 3
3
{
4
4
"variant" : " semitransparent" ,
5
5
"id" : " select09" ,
6
- "label" : " Select label " ,
6
+ "label" : " Devices/Roles " ,
7
7
"optgroup" : true
8
8
},
9
9
{
10
10
"variant" : " white" ,
11
11
"id" : " select10" ,
12
- "label" : " Select label " ,
12
+ "label" : " Devices/Roles " ,
13
13
"optgroup" : true
14
14
},
15
15
{
16
16
"variant" : " solid" ,
17
17
"id" : " select11" ,
18
- "label" : " Select label " ,
18
+ "label" : " Devices/Roles " ,
19
19
"optgroup" : true
20
20
},
21
21
{
22
22
"variant" : " outline" ,
23
23
"id" : " select12" ,
24
- "label" : " Select label " ,
24
+ "label" : " Devices/Roles " ,
25
25
"optgroup" : true
26
26
}
27
27
]
You can’t perform that action at this time.
0 commit comments