Skip to content

Commit

Permalink
setEmptyString not Default
Browse files Browse the repository at this point in the history
  • Loading branch information
innomedia committed Oct 6, 2020
1 parent b3b473d commit 8ea8eff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Extensions/SubsiteDomainExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ public function updateCMSFields(FieldList $fields)
{
$preparedlocales[$locale->Locale] = $locale->Title;
}
$fields->push(DropdownField::create("Locale","Locale",$preparedlocales)->setEmptyDefault(""));
$fields->push(DropdownField::create("Locale","Locale",$preparedlocales)->setEmptyString(""));
}
}

0 comments on commit 8ea8eff

Please sign in to comment.