volto icon indicating copy to clipboard operation
volto copied to clipboard

Auto-generated text-area form fields should have at least 10 lines by default and should increase size as the user types in text

Open tisto opened this issue 5 years ago • 11 comments

tisto avatar Aug 26 '20 08:08 tisto

@avimishra18 we have the Textarea widget everywhere and we want it to grow dynamically so that users can see the whole text instead of the typing one.

iFlameing avatar Mar 15 '22 07:03 iFlameing

@iFlameing just to be sure src/components/manage/Widgets/TextareaWidget.jsx?

avimishra18 avatar Mar 15 '22 07:03 avimishra18

@techaakritisha no, @iFlameing is already assigned, and as you can see from the long list of failed attempts, you as well as they failed to follow First-time contributors, especially Things not to do, Contributing to Plone, and Contributing to Volto.

stevepiercy avatar Mar 23 '25 22:03 stevepiercy

Is this issue still available?

tazsq avatar May 08 '25 04:05 tazsq

@tazsq using your super power of observation, you may see that the green "Open" icon reflects its status.

Please read and follow First-time contributors, especially Things not to do, Contributing to Plone, and Contributing to Volto.

stevepiercy avatar May 08 '25 06:05 stevepiercy

I just read somewhere that prs from first time contributors are not accepted till second half of 2026 like what happened to that?

tazsq avatar May 08 '25 06:05 tazsq

Nvm I'm working on it

tazsq avatar May 08 '25 06:05 tazsq

I just read somewhere that prs from first time contributors are not accepted till second half of 2026 like what happened to that?

Where exactly?

stevepiercy avatar May 08 '25 06:05 stevepiercy

I just read somewhere that prs from first time contributors are not accepted till second half of 2026 like what happened to that?

Where exactly?

Screenshot_2025-05-08-12-31-28-713_com.github.android.png

Ss from a previous pr There you go

tazsq avatar May 08 '25 07:05 tazsq

"suspended its review" != "not accepted".

"Volto Team" (24 people) ⊂ "All people who can review a new pull request in Volto" (600+ people).

And if you clicked the link to Read details, you would see the same message with, of course, details.

stevepiercy avatar May 08 '25 08:05 stevepiercy

Image

substituting 10 in the rows property of textareawidget doesnt work because of some css applied to textArea component by semantic-ui-react.

Other solution that would work would be use "textareaautosize" instead of "textArea" component . additional module called "react-textarea-autosize" needs to be installed for this to work.

Also this module provides min-rows property which is not provided by the semantic ui one.

Should I go ahead and implement this/is this acceptable?? @stevepiercy @iFlameing

tazsq avatar May 30 '25 16:05 tazsq