This throws a JS error.
Uncaught TypeError: $(...).once is not a function
at Object.attach (address_autocomplete.js?s2qa25:5:41)
The JS file in this module is not using the once function properly. That needs to be changed for this patch to work.
This does not seem to have been merged in the latest beta release available: 2.1.0-beta2.
Has this been merged in any release that is D10 compatible?
@tivi22 I think that this should be seen as a separate issue as what you are describing is not what the issue description states.
It is just my opinion but you should create a new ticket for that and propose there your solution.
Also it might be a good idea to try and understand why the type labels are not showing instead of adding some CSS on top of it. Not saying that it might not be the solution but there might already be code that does what you want but is not because of some unknown bug.
If people are happy with this one can it's status be changed to Reviewed by the community?
I have picked up the code from @sakthi_dev and changed it so that it only is executed if in an admin route (As @hudri suggested in his comment).
Please review.
Vitor Faria β made their first commit to this issueβs fork.
Changed ticket status to needs review
Sorry, changed the wrong ticket status.