Description
Iterate.ArrayRemoveElementButton
connects to the array of a surrounding Iterate.Array
and removes the element when clicked.
Demos
Primitive elements
<Iterate.Arrayvalue={['One', 'Two', 'Three', 'Four', 'Five']}onChange={(value) => console.log('onChange', value)}><Layout.Row><Field.String elementPath="/" /><Iterate.ArrayRemoveElementButtonicon={TrashIcon}onChange={(value) => console.log('onChange', value)}/></Layout.Row></Iterate.Array>