17266: Avoids adding a property value without a key.
authorLucas Di Pentima <lucas@di-pentima.com.ar>
Mon, 25 Jan 2021 20:33:55 +0000 (17:33 -0300)
committerLucas Di Pentima <lucas@di-pentima.com.ar>
Wed, 27 Jan 2021 12:04:45 +0000 (09:04 -0300)
commit92b4ae921e7393c504d846c6476766aec57da313
tree3782380a45a3209ac2112d64b88f01598eded0bb
parent2e1b1001e109cadbe3d26fe8ed1a12ff8f8a21aa
17266: Avoids adding a property value without a key.

Also resets the form whenever a property key changes, this avoids a previously
validated property value to be taken as valid with a different property key.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>
src/components/autocomplete/autocomplete.tsx
src/views-components/resource-properties-form/property-field-common.tsx
src/views-components/resource-properties-form/property-key-field.tsx
src/views-components/resource-properties-form/property-value-field.tsx