I separate WC form-edit-account for $_POST['account_first_name'], $_POST['account_first_name'] in one form and changing password functional in another.
When I save data from the first form with fname and lname - all good. When I change the password - fname and lname became empty, because if I change pass in a POST I don't have this value but woocommerce_save_account_details hook anyway overrides it. Conditional like if (isset($_POST['account_first_name']) && $_POST['account_first_name'] != "") for update user meta only if it's not empty don't work.
How I can stay these forms separated and don't lose my value fname and lname when changing password?