File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
src/PostcodeNl/AddressAutocomplete Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 267267
268268 const addAddressAutocompleteNl = function ( container , addressType )
269269 {
270- if ( settings . netherlandsMode !== 'postcodeOnly' )
270+ if ( typeof settings . enabledCountries . NL === 'undefined' || settings . netherlandsMode !== 'postcodeOnly' )
271271 {
272272 return ;
273273 }
Original file line number Diff line number Diff line change @@ -189,11 +189,6 @@ public function show(): void
189189 $ countryListItems = [];
190190 foreach ($ this ->getSupportedCountries () as $ supportedCountry )
191191 {
192- if ($ supportedCountry ['iso3 ' ] === 'NLD ' && $ this ->netherlandsMode === static ::NETHERLANDS_MODE_POSTCODE_ONLY )
193- {
194- continue ;
195- }
196-
197192 $ checkbox = sprintf (
198193 '<input type="checkbox" name="%s" %s/> ' ,
199194 static ::FORM_NAME_PREFIX . static ::FORM_PER_COUNTRY_NAME . $ supportedCountry ['iso3 ' ],
You can’t perform that action at this time.
0 commit comments