Problem / How to reproduce:
When switching to for example "Tonga" (a country without zip code field) first and then switching to "Germany", the "Postleitzahl" (zip code) field does not appear in the form again. On submit an error appears because the "Postleitzahl" (zip code) is required for Germany.

A little help:
There are NO JS Errors and the spinner loads correctly. So it seems like a logical problem.

Comments

anybody’s picture

Status: Active » Closed (cannot reproduce)

The issue seems to be a local bug due to other reasons. I've tried to reproduce it once more and it's not possible, so the reason seems not to be within the module. Thanks a lot!

denisev’s picture

This just happened to me while creating a new user - reproduce with saving the form in between the country change (with left out fields to trigger warning message).

anybody’s picture

Status: Closed (cannot reproduce) » Active
denisev’s picture

Taking this back, sorry - it is working properly. It was only not switching correctly when using kint() in a custom validation function.

anybody’s picture

Status: Active » Closed (cannot reproduce)