We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b5937b commit 401a0b6Copy full SHA for 401a0b6
composer.json
@@ -2,7 +2,7 @@
2
"name": "wamesk/laravel-nova-address-field",
3
"description": "Laravel Nova 4 Address field",
4
"type": "library",
5
- "version": "4.0.1",
+ "version": "4.0.2",
6
"license": "proprietary",
7
"require": {
8
"wamesk/laravel-nova-country": "^1.1|^2.0|^4.0"
src/Fields/Address.php
@@ -136,7 +136,7 @@ private function getCountryList(): mixed
136
{
137
$version = $this->getCountryPackageVersion();
138
139
- if (Str::startsWith($version, '2.')) {
+ if (Str::startsWith($version, ['2.', '4.'])) {
140
return Country::query()->where(['status' => CountryStatusEnum::ENABLED])->orderBy('title')->pluck('title', 'id')->toArray();
141
}
142
0 commit comments