File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1+ /* eslint-disable max-lines */
12/* eslint-disable perfectionist/sort-objects */
23
34import { useEffect , useState } from 'react' ;
@@ -404,6 +405,13 @@ export const WithInitialValues: StoryObj<typeof Form> = {
404405 numberSlider : 45 ,
405406 numberRadio : 3 ,
406407 numberSelect : 4 ,
408+ recordArray : [
409+ {
410+ recordArrayStringInput : 'A' ,
411+ showRecordArrayDynamicField : true ,
412+ recordArrayDynamicField : 'B'
413+ }
414+ ] ,
407415 stringSelect : 'a' ,
408416 setListbox : new Set ( [ 'a' , 'b' ] ) ,
409417 setSelect : new Set ( [ 'c' , 'd' ] ) ,
@@ -425,7 +433,6 @@ export const WithDynamicInitialValues: StoryObj<typeof Form> = {
425433 decorators : [
426434 ( Story ) => {
427435 const [ initialValues , setInitialValues ] = useState < FormTypes . PartialNullableData < ExampleFormData > > ( { } ) ;
428-
429436 useEffect ( ( ) => {
430437 setTimeout ( ( ) => {
431438 setInitialValues ( {
You can’t perform that action at this time.
0 commit comments