You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you select an office, the form dynamically updates to display only the employees associated with that office. So far so good.
The issue occurs when you first select a user, then choose an office the user doesn't belong to:
After selecting an office, the users list updates, and the previously selected user disappears (id: 35). However, the data sent to the server (as well as the live property value) still holds the old, now invalid, user. As a result, the form isn't submitted due to a validation error:
Is there any option to avoid this behaviour?
The text was updated successfully, but these errors were encountered:
I've a simple form with two fields:
I want to be able to select "any user" (that doesn't belong to any office)... or select the office and see the list of users.
When you select an office, the form dynamically updates to display only the employees associated with that office. So far so good.
The issue occurs when you first select a user, then choose an office the user doesn't belong to:
After selecting an office, the users list updates, and the previously selected user disappears (id: 35). However, the data sent to the server (as well as the live property value) still holds the old, now invalid, user. As a result, the form isn't submitted due to a validation error:
Is there any option to avoid this behaviour?
The text was updated successfully, but these errors were encountered: