Loading modules/cloud_service_providers/aws_cloud/src/Form/Ec2/InstanceEditForm.php +1 −1 Original line number Diff line number Diff line Loading @@ -624,7 +624,7 @@ class InstanceEditForm extends AwsCloudContentForm { $termination_timestamp = $form_state->getValue('termination_timestamp')[0]['value'] ?? ''; $termination_protection = $form_state->getValue('termination_protection'); if ($termination_timestamp !== NULL && $termination_protection === 1) { if (!empty($termination_timestamp) && $termination_protection === 1) { $form_state->setErrorByName( 'termination_timestamp', $this->t('"@name1" should be left blank if "@name2" is selected. Please leave "@name1" blank or unselect "@name2".', [ Loading Loading
modules/cloud_service_providers/aws_cloud/src/Form/Ec2/InstanceEditForm.php +1 −1 Original line number Diff line number Diff line Loading @@ -624,7 +624,7 @@ class InstanceEditForm extends AwsCloudContentForm { $termination_timestamp = $form_state->getValue('termination_timestamp')[0]['value'] ?? ''; $termination_protection = $form_state->getValue('termination_protection'); if ($termination_timestamp !== NULL && $termination_protection === 1) { if (!empty($termination_timestamp) && $termination_protection === 1) { $form_state->setErrorByName( 'termination_timestamp', $this->t('"@name1" should be left blank if "@name2" is selected. Please leave "@name1" blank or unselect "@name2".', [ Loading