File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -220,6 +220,7 @@ const App = () => {
220
220
< Select
221
221
isMulti
222
222
options = { colorOptions }
223
+ defaultValue = { colorOptions [ 0 ] }
223
224
placeholder = "Select some colors..."
224
225
tagColorPalette = "purple"
225
226
/>
@@ -236,6 +237,7 @@ const App = () => {
236
237
isMulti
237
238
options = { mappedColorOptions }
238
239
placeholder = "Select some colors..."
240
+ defaultValue = { mappedColorOptions . slice ( 0 , 3 ) }
239
241
/>
240
242
</ Field >
241
243
@@ -251,6 +253,7 @@ const App = () => {
251
253
options = { colorOptions }
252
254
placeholder = "Select some colors..."
253
255
tagVariant = "outline"
256
+ defaultValue = { colorOptions . slice ( 0 , 2 ) }
254
257
/>
255
258
</ Field >
256
259
@@ -265,6 +268,7 @@ const App = () => {
265
268
isMulti
266
269
options = { tagVariantOptions }
267
270
placeholder = "Select some tag variants..."
271
+ defaultValue = { tagVariantOptions }
268
272
/>
269
273
</ Field >
270
274
You can’t perform that action at this time.
0 commit comments