Skip to content

Commit a478083

Browse files
Prefer top-level value with label first
1 parent 0be4b86 commit a478083

File tree

1 file changed

+4
-4
lines changed
  • app/views/design-system/components/select/default

1 file changed

+4
-4
lines changed

app/views/design-system/components/select/default/index.njk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{% from "select/macro.njk" import select %}
22

33
{{ select({
4-
id: "select-1",
5-
name: "select1",
64
label: {
75
text: "Choose region"
86
},
7+
id: "region",
8+
name: "region",
9+
value: "choose",
910
items: [
1011
{
1112
value: "choose",
12-
text: "Choose region",
13-
selected: true
13+
text: "Choose region"
1414
},
1515
{
1616
value: "east",

0 commit comments

Comments
 (0)