-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non-unique address error not displayed when selecting address from dropdown #5813
Comments
Hi! Thanks for reporting this issue. I’ve looked into it and it seems that the non-unique address error does not show up consistently when selecting an address from the dropdown, which is definitely unexpected behavior. It appears that this issue might be related to the Google address provider. When the address is typed manually, the error message is displayed correctly, but when selecting it from the dropdown, the UI doesn’t show the error, even though it appears in the console. We believe the issue could be with how the address data is handled when selected from the Google provider’s dropdown. If you’re able to provide a fix or any suggestions on how to address this, we’d be more than happy to review and merge it. Thanks again for bringing this up, and feel free to reach out if you need any further assistance! |
Please also provide an API error message. It should help to understand the problem. |
@pahaz Hello! Here it is:
|
Non-unique address error not displayed when selecting address from dropdown
I'm experiencing an issue when adding a building address using the Google address provider. The system should check if the entered address already exists and display an error message if it does. However, there's a discrepancy in how the error appears depending on whether the address is selected from the dropdown list or typed manually.
Steps to Reproduce
Type in an existing address without using the dropdown suggestions.
Click the "Add" button.
Observe the error message indicating a non-unique address (as expected).
Alternatively, select the same existing address from the dropdown list.
Click the "Add" button again.
Notice that no error message is displayed in the UI, but the error appears in the developer console.
Expected Behavior
When an existing address is selected (either manually or from the dropdown), the UI should display the non-unique address error message consistently.
I’ve attached a video demonstrating this issue.
Thank you for looking into this!
https://github.com/user-attachments/assets/4cab2a8c-677f-4e82-a718-5961c63ffbc4
The text was updated successfully, but these errors were encountered: