Skip to content
Snippets Groups Projects
Commit fd4a32e0 authored by Andrey Vitushkin's avatar Andrey Vitushkin
Browse files

Issue #3452669: If the field has value then the "CIDR" storage setting should...

Issue #3452669: If the field has value then the "CIDR" storage setting should be disabled for the "ipaddress_mysql" field type
parent 26462da6
No related branches found
No related tags found
No related merge requests found
......@@ -62,6 +62,7 @@ final class IpAddressMySqlField extends FieldItemBase {
'#title' => $this->t('CIDR'),
'#description' => $description,
'#default_value' => $this->getSetting('cidr_format'),
'#disabled' => $has_data,
];
return $element;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment