I need to clear any data from an address field's values (administrative area, etc.)
In my custom submit hanlder for node form, I know I can use something like below for a standard field:
<?php
$form_state->setValue('field_alternate_phone', [['value' => 'NEW VALUE']]);
?>
But I cannot figure out how to change the value of a nested address field where the values are something like:
I've solutions similar to below but nothing is working:
$form_state->setValue('field_service_location', [
['address' => ['organization' => 'test22111']]
]);