I am new to uniforms,
i uses it with react 18, bootstrap 5 and simple-schema.
when using:
<AutoForm schema={schema} onSubmit={handleSubmit}>
<AutoField name="z"/>
...
with Z being specified with simpl-schema with type: array,
i get a grey buttons with "btn-secondary" css, one to add new array and the other to delete.
I was not able to customize them and still new to use useField and connectField.
Is there a way to customize them ?
Would love to know if there is more detailed documentation because "uniforms.tools/docs" feels very bare-boned and there is barely examples to work with.
Edit:
I am also getting in the console:
-Warning: ListAdd: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
-Warning: ListDel: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
I am new to uniforms,
i uses it with react 18, bootstrap 5 and simple-schema.
when using:
with Z being specified with simpl-schema with
type: array,i get a grey buttons with "
btn-secondary" css, one to add new array and the other to delete.I was not able to customize them and still new to use useField and connectField.
Is there a way to customize them ?
Would love to know if there is more detailed documentation because "uniforms.tools/docs" feels very bare-boned and there is barely examples to work with.
Edit:
I am also getting in the console:
-Warning: ListAdd: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
-Warning: ListDel: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.