Custom text field does not take country as a parameter

Created on 29 May 2024, 6 months ago
Updated 12 June 2024, 5 months ago

The custom text field that works with ckeditor does not take country as a query parameter

$form['custom_text_field'] = [
     '#type' => 'textfield',
     '#title' => $this->t('Autocomplete Address'),
     '#autocomplete_route_name' => 'address_suggestion.ckeditor',
     '#autocomplete_route_parameters' => ['format' => 'full_html'],
     '#autocomplete_query_parameters' => ['token' => $token, 'country' => $country],
];
Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇧🇪Belgium DonnyCarette

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024