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

fix: unable to set custom rows length for textarea widget #343

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jdenisTLM
Copy link
Contributor

By default, textarea rows is set to 2 in UnfoldAdminTextareaWidget. But it is not possible to change this value, because it is systematicaly updated by the init function of this widget.

@lukasvinclav
Copy link
Contributor

@jdenisTLM yes, this will allow to set "rows" attribute for textarea BUT it will not change the default height of the textarea because its height is adjusting based on the content.

In general, having this feature is okay but we have to find a way how to set approriate min height to hidden div below the textarea which is responsible for auto resizing.

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

Successfully merging this pull request may close these issues.

None yet

2 participants