- 🇬🇧United Kingdom Mattgh9152
This is now an issue again, as the Mapbox Access Key has increased in size further.
Can I recommend setting the max length to, say, 255, if it's required at all?
diff --git a/src/Form/ConfigForm.php b/src/Form/ConfigForm.php index 2b6ec86..a3418ac 100644 --- a/src/Form/ConfigForm.php +++ b/src/Form/ConfigForm.php @@ -65,8 +65,8 @@ class ConfigForm extends ConfigFormBase { $form['access_token'] = [ '#type' => 'textfield', '#title' => $this->stringTranslation->translate('Access Token'), - '#maxlength' => 98, - '#size' => 98, + '#maxlength' => 255, + '#size' => 255, '#required' => TRUE, '#default_value' => $config->get('access_token'), ];