Really love this class - however, there is a small bug: when split_values=true, the two input (hidden) fields created for latitude and longitude receive the exact same ID. This is not allowed in HTML - but worse, it prevents using these fields for various additional JavaScript validations, extrapolations, etc.
I solved this by editing cmb-field-map.php and adding 'id' => $field->args( 'id' ) . '_longitude' (for example) to the $field_type_object->input array... so it's a simple fix...
Hi,
Really love this class - however, there is a small bug: when split_values=true, the two input (hidden) fields created for latitude and longitude receive the exact same ID. This is not allowed in HTML - but worse, it prevents using these fields for various additional JavaScript validations, extrapolations, etc.
I solved this by editing cmb-field-map.php and adding 'id' => $field->args( 'id' ) . '_longitude' (for example) to the $field_type_object->input array... so it's a simple fix...
Thanks,
Bira