-
-
Notifications
You must be signed in to change notification settings - Fork 529
Textarea TV loses Auto Grow and Resizable settings on reload #16746
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The problem seems to be the function revolution/core/src/Revolution/modX.php Lines 402 to 416 in ba4e3d4
Because |
The solution is probably to use the third parameter ( revolution/core/src/Revolution/modX.php Line 412 in ba4e3d4
to this instead: if (isset($params[$key]) && in_array($params[$key], ['true', true, '1', 1], true)) { |
@halftrainedharry - Yup, thanks for taking a look. I put up a PR to fix it. It is indeed resolved by specifying strict checking. The mystery is, why didn't the problem show up when I added those options a while back? Who knows ;-) |
Bug Report
Summary
The Textarea TV with Auto Grow and Resizable enabled resets these settings when the TV is reloaded or reopened.
Steps to Reproduce
Environment
MODX version: 3.1.2-pl
The text was updated successfully, but these errors were encountered: