- 🇮🇳India Vivek Panicker Kolkata
I confirm that this issue still exists on vanilla Drupal 11 install.
My system config is this:I have generated a Drupal form using
drush gen
command which provides a text area by default.
I just added `'#resizable' => 'none',` to it.
After doing that, the text area is still resizable. - 🇮🇳India Vivek Panicker Kolkata
I did some debugging and found that the resizable argument is not sent to twig for the text area.
- Merge request !7842Issue #2787025: Added missing variables to textarea twig template. → (Closed) created by Vivek Panicker
- 🇮🇳India Vivek Panicker Kolkata
I have raised an MR to fix the issue.
The Twig template seemed to have the variables defined in the docblock but were not using them.
I have added them now back to the code. - Issue was unassigned.
- Status changed to Needs review
11 months ago 4:13am 30 April 2024 - Status changed to Needs work
11 months ago 1:36pm 30 April 2024 - 🇺🇸United States smustgrave
Issue summary should follow standard issue template.
Will need test coverage
That said I don't think this is the correct solution as it requires all these template types to be updated. Values should be added to attributes array in code so no templates need to be updated
- 🇮🇳India Vivek Panicker Kolkata
Seems like as part of https://www.drupal.org/project/drupal/issues/2407745 → , we have removed some code from the template but missed removing the documentation for it.
That's great actually, becuase that is what helped me to backtrace the changes.Looks like these changes were done considering the classy theme but it is now breaking in newer versions of Drupal.
So should we revert the code instead to how it was here instead of how it has been done in the current MR?
- First commit to issue fork.
- 🇺🇦Ukraine danmer
Hello there, I have tested the issue according to the steps to reproduce.
My setup:Drupal Version: 11.2-dev PHP Version: 8.3.14 Database Version: 10.11.10-MariaDB-ubu2204-log
The patch fixes the issue; see attached screenshots
The Needs Review Queue Bot → tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide → to find step-by-step guides for working with issues.
- 🇪🇸Spain vidorado Logroño (La Rioja)
Rebased the MR onto latest 11.x branch and fixed a new PHPCS issue.
- 🇳🇿New Zealand quietone
I read the IS, comments and the MR and didn't spot unanswered questions or other work. I updated credit.
- Status changed to RTBC
about 1 month ago 10:40am 4 March 2025 - First commit to issue fork.
- 🇪🇸Spain vidorado Logroño (La Rioja)
Fixed! Restoring to RTBC as it was only adding a docblock to a method.
- 🇬🇧United Kingdom catch
Committed/pushed to 11.x, thanks! Doesn't cherry-pick cleanly to 11.1.x.
Automatically closed - issue fixed for 2 weeks with no activity.