Skip to content
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

Textarea: Setting for wrap resets on load, default value should be "virtual" #402

Closed
cdominpxp opened this issue May 5, 2021 · 1 comment

Comments

@cdominpxp
Copy link

We are using the current version 6.6.5, and the wrap setting in a textarea resets to default ("") on loading an element in the backend module.
In TCA Documentation it says that the default setting is "virtual" and not "" so we had to overwrite it in the TCA that it does the virtual wrap in our content element.

@nhovratov
Copy link
Collaborator

@cdominpxp Hi, with "" it should do the virtual wrap as it falls back: 'wrap' => (string)($config['wrap'] ?: 'virtual'),
There was a problem regarding this a few versions earlier (in 6.6.2 an lower). But it was a bit different as you describe.
This "resetting" like you describe is now fixed. I will release a new version soon. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants