Custom text field does not take country as a parameter

Created on 29 May 2024, 28 days ago
Updated 12 June 2024, 14 days 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.69.0 2024