summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhass2016-01-14 23:55:24 (GMT)
committerhass2016-01-14 23:55:24 (GMT)
commitcbb35d9f27b20db9e965093626d9ceb4fc0a59a6 (patch)
tree4f23f489b46063055172ef11512f7913cd6a4ad2
parent00989c480bbab4b40253887e2e3d34bbe14dfe4a (diff)
Issue #2650458 by hass: Tabindex has a minimal value of -18.x-2.0
-rw-r--r--src/Form/ReCaptchaAdminSettingsForm.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Form/ReCaptchaAdminSettingsForm.php b/src/Form/ReCaptchaAdminSettingsForm.php
index 7fccde5..2d7483a 100644
--- a/src/Form/ReCaptchaAdminSettingsForm.php
+++ b/src/Form/ReCaptchaAdminSettingsForm.php
@@ -101,6 +101,7 @@ class ReCaptchaAdminSettingsForm extends ConfigFormBase {
'#maxlength' => 4,
'#title' => $this->t('Tabindex'),
'#type' => 'number',
+ '#min' => -1,
];
$form['widget']['recaptcha_noscript'] = [
'#default_value' => $config->get('widget.noscript'),