Skip to content
Snippets Groups Projects
Unverified Commit 7476b37f authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2906298 by qzmenko, runeasgar: Comments per page number validation

parent 92b48447
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -117,9 +117,8 @@ public function fieldSettingsForm(array $form, FormStateInterface $form_state) {
'#title' => t('Comments per page'),
'#default_value' => $settings['per_page'],
'#required' => TRUE,
'#min' => 10,
'#min' => 1,
'#max' => 1000,
'#step' => 10,
];
$element['anonymous'] = [
'#type' => 'select',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment