Define array field with elements of type defined by provided innerDecoder. Default initial value will be [] Accepts empty arrays and arrays containing elements which are valid in respect to rules imposed by innerDecoder.
innerDecoder
[]
const Schema = new FormSchemaBuilder() .fields({ x: FormFields.array(FormFields.string()) // x: string[] }) .build() Copy
const Schema = new FormSchemaBuilder() .fields({ x: FormFields.array(FormFields.string()) // x: string[] }) .build()
Generated using TypeDoc
Define array field with elements of type defined by provided
innerDecoder
. Default initial value will be[]
Accepts empty arrays and arrays containing elements which are valid in respect to rules imposed byinnerDecoder
.