fix(admin-ui): Fix location address editing form state (#3525)

I believe that changing the requiredness of the `address_1` and `country_code` fields when any part of the address was filled was not being registered correctly with the form state representation of those fields. ~~Have added an effect that unregisters the fields when the requiredness state changes and allows them to be re-registered with the correct `required` value when the next re-render happens due to that state having changed.~~

Have updated the submit button to be available even if form is invalid.

Resolves CORE-1266
This commit is contained in:
Rares Stefan
2023-03-21 08:01:41 +00:00
committed by GitHub
parent 98cad6d731
commit d525c27774
3 changed files with 14 additions and 5 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/admin-ui": patch
---
fix(admin-ui): Fix location address editing form state