@@ -111,7 +111,7 @@ export const WithDifferentSizes = () => {
111
111
< Heading2 > Standard</ Heading2 >
112
112
< Flex gap = "x2" minHeight = "360px" >
113
113
< Select
114
- defaultMenuIsOpen
114
+ initialIsOpen
115
115
placeholder = "Please select inventory status"
116
116
onChange = { action ( "selection changed" ) }
117
117
onBlur = { action ( "blurred" ) }
@@ -121,7 +121,7 @@ export const WithDifferentSizes = () => {
121
121
/>
122
122
< Select
123
123
size = "medium"
124
- defaultMenuIsOpen
124
+ initialIsOpen
125
125
placeholder = "Please select inventory status"
126
126
onChange = { action ( "selection changed" ) }
127
127
onBlur = { action ( "blurred" ) }
@@ -131,7 +131,7 @@ export const WithDifferentSizes = () => {
131
131
/>
132
132
< Select
133
133
size = "large"
134
- defaultMenuIsOpen
134
+ initialIsOpen
135
135
placeholder = "Please select inventory status"
136
136
onChange = { action ( "selection changed" ) }
137
137
onBlur = { action ( "blurred" ) }
@@ -144,7 +144,7 @@ export const WithDifferentSizes = () => {
144
144
< Heading2 > Multi-select</ Heading2 >
145
145
< Flex gap = "x2" alignItems = "flex-start" >
146
146
< Select
147
- defaultMenuIsOpen
147
+ initialIsOpen
148
148
defaultValue = { [ partnerCompanyName [ 0 ] . value , partnerCompanyName [ 2 ] . value ] }
149
149
noOptionsMessage = { ( ) => "No options" }
150
150
placeholder = "Please select inventory status"
@@ -154,7 +154,7 @@ export const WithDifferentSizes = () => {
154
154
/>
155
155
< Select
156
156
size = "medium"
157
- defaultMenuIsOpen
157
+ initialIsOpen
158
158
defaultValue = { [ partnerCompanyName [ 0 ] . value , partnerCompanyName [ 2 ] . value ] }
159
159
noOptionsMessage = { ( ) => "No options" }
160
160
placeholder = "Please select inventory status"
@@ -164,7 +164,7 @@ export const WithDifferentSizes = () => {
164
164
/>
165
165
< Select
166
166
size = "large"
167
- defaultMenuIsOpen
167
+ initialIsOpen
168
168
defaultValue = { [ partnerCompanyName [ 0 ] . value , partnerCompanyName [ 2 ] . value ] }
169
169
noOptionsMessage = { ( ) => "No options" }
170
170
placeholder = "Please select inventory status"
0 commit comments