🇬🇧United Kingdom @Mattgh9152

Account created on 6 August 2024, about 2 months ago
#

Recent comments

🇬🇧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'),
     ];
Production build 0.71.5 2024