19732: Removes 'require' validation on Property form fields. 19732-properties-error-fix
authorLucas Di Pentima <lucas.dipentima@curii.com>
Mon, 5 Dec 2022 23:00:23 +0000 (00:00 +0100)
committerLucas Di Pentima <lucas.dipentima@curii.com>
Wed, 7 Dec 2022 19:30:21 +0000 (20:30 +0100)
commit74e6ba2377c3c1ad7c2a8e97c24e8be369f40fe3
tree46a0d148c7637e025cc71ca608aa21965c5ee23e
parentd10e3de65595d9ab1983da00dc498c5fb11abf79
19732: Removes 'require' validation on Property form fields.

Also, only enable the 'Add' button when both property key & value are set
on the form.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
src/validators/validators.tsx
src/views-components/resource-properties-form/property-value-field.tsx
src/views-components/resource-properties-form/resource-properties-form.tsx