From 9566f2017e297c3772dcfa29e0bbef4777d97385 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Mon, 13 Jan 2020 21:34:14 +0000 Subject: [PATCH] Issue #2851204 by swarad07, fotuzlab, Sahana _N, prash_98, anoopjohn, ravi.shankar, jungle, rahul.gore, cilefen, xjm, alexpott, jericho711: #size for Select field documentation is wrong --- core/lib/Drupal/Core/Render/Element/Number.php | 1 - core/lib/Drupal/Core/Render/Element/Select.php | 2 +- core/lib/Drupal/Core/Render/Element/Table.php | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/core/lib/Drupal/Core/Render/Element/Number.php b/core/lib/Drupal/Core/Render/Element/Number.php index b7b25241260b..561c1334778f 100644 --- a/core/lib/Drupal/Core/Render/Element/Number.php +++ b/core/lib/Drupal/Core/Render/Element/Number.php @@ -16,7 +16,6 @@ * - #step: Ensures that the number is an even multiple of step, offset by #min * if specified. A #min of 1 and a #step of 2 would allow values of 1, 3, 5, * etc. - * - #size: The size of the input element in characters. * * Usage example: * @code diff --git a/core/lib/Drupal/Core/Render/Element/Select.php b/core/lib/Drupal/Core/Render/Element/Select.php index fa2e7377c184..205dad6cc5b4 100644 --- a/core/lib/Drupal/Core/Render/Element/Select.php +++ b/core/lib/Drupal/Core/Render/Element/Select.php @@ -59,7 +59,7 @@ * is #required or not. * - #required: (optional) Whether the user needs to select an option (TRUE) * or not (FALSE). Defaults to FALSE. - * - #size: The size of the input element in characters. + * - #size: The number of rows in the list that should be visible at one time. * * Usage example: * @code diff --git a/core/lib/Drupal/Core/Render/Element/Table.php b/core/lib/Drupal/Core/Render/Element/Table.php index c6c08b106645..481c642fdd9d 100644 --- a/core/lib/Drupal/Core/Render/Element/Table.php +++ b/core/lib/Drupal/Core/Render/Element/Table.php @@ -24,7 +24,6 @@ * providing responsive tables. Defaults to TRUE. * - #sticky: Indicates whether to add the drupal.tableheader library that makes * table headers always visible at the top of the page. Defaults to FALSE. - * - #size: The size of the input element in characters. * * Usage example: * @code -- GitLab