- Issue created by @vlad.dancer
- @vladdancer opened merge request.
- Status changed to Needs review
about 1 year ago 4:09pm 17 November 2023 - Merge request !5Build correct name prefix for location field when embedded in paragraph β (Closed) created by vlad.dancer
- π«π·France lazzyvn paris
jquery use input[name*= that means check contains in name, i think it is still correct
- πΊπ¦Ukraine vlad.dancer Kyiv
No, that's wrong assumption. The key is different then.
Compare:
-const location_field = 'field_p_kb_inst_address[0][subform][field_kb_geolocation]'; jQuery(document).find("input[name*='"+location_field+"[0][value][lat]']"); Object { 0: input#edit-field-p-kb-inst-address-0-subform-field-kb-geolocation-0-value-lat--HfLvn8mw3Ag.geofield-lat.form-textfield.form-control, length: 1, prevObject: {β¦} }
-
const location_field = 'field_kb_geolocation'; jQuery(document).find("input[name*='"+location_field+"[0][value][lat]']"); Object { length: 0, prevObject: {β¦} }
- π«π·France lazzyvn paris
oh i see so we need check parent and add ']'
with parent
field_kb_geolocation][0][value][lat]
no parent
field_kb_geolocation[0][value][lat] -
lazzyvn β
committed e33cf1c3 on 1.0.x
Issue #3402473: Add support for location fields that embedded inside...
-
lazzyvn β
committed e33cf1c3 on 1.0.x
-
lazzyvn β
committed 675ccf83 on master
Issue #3402473: Add support for location fields that embedded inside...
-
lazzyvn β
committed 675ccf83 on master
-
lazzyvn β
committed e33cf1c3 on master
Issue #3402473: Add support for location fields that embedded inside...
-
lazzyvn β
committed e33cf1c3 on master
-
lazzyvn β
committed 675ccf83 on 1.0.x
Issue #3402473: Add support for location fields that embedded inside...
-
lazzyvn β
committed 675ccf83 on 1.0.x
- Status changed to Fixed
about 1 year ago 11:12am 19 November 2023 Automatically closed - issue fixed for 2 weeks with no activity.