Wherever a "Module class" is used, textarea is used. And where is the "Header Class" used there input type = "text". And joomla 3 uses the same type everywhere.
http://prntscr.com/sklhzz
You can look in the module settings and wherever this class is used
Labels |
Added:
?
|
The only reason I'd see to change it would be for consistency.
@rinka88 thoughts?
@chmst Raised during PBF 23 May 2020
Those were the reasons that the module class was changed to a text area. No reason that the header class couldnt be changed as well
I think it's better to use input type = "text"
Can you explain why
When textarea move the corner then fly off the whole design. And on input type = "text" does not change from a hard-coded area.
p.s Try on joomla 4
I would prefer textarea for all class fields. It's common e.g. in Bootstrap 4 to use many responsive classes. I can increase the height of a textarea field to see them all but can't increase a text field.
We have this 3-columns layout (whyever) in the back-end and the width of text fields is limited and classes are hidden.
Я бы предпочел textarea для всех полей класса. Например, в Bootstrap 4 часто используется много адаптивных классов. Я могу увеличить высоту текстового поля, чтобы увидеть их все, но не могу увеличить текстовое поле.
У нас есть этот 3-колоночный макет (как бы то ни было) в бэк-энде, ширина текстовых полей ограничена, а классы скрыты.
And you try clicking the textarea frame from the bottom, and stretch a little to the right, it will go down sharply, disrupting the design.
And you try clicking the textarea frame from the bottom, and stretch a little to the right, it will go down sharply, disrupting the design.
This is partially by design: The layout uses css flex layout, and so automatically allocates the contents across the three columns proportionally.
Resizing the text area then needs to balance out the flex columns and so if it's made longer than the second column it redistributes the contents in the columns. You would need to further wrap the content into 3 column divs to stop the layout changing as you resize the textarea. I don't think that people would be changing the size of the textarea frequently enough to warrant fixing the contents into three columns.
I agree that changing Header Class to a textarea is a good idea.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-05-23 14:49:15 |
Closed_By | ⇒ | chmst |
And you try clicking the textarea frame from the bottom, and stretch a little to the right, it will go down sharply, disrupting the design.
Perhaps that's a browser issue and you should open a new issue? I can't confirm this find with Firefox 76.0.1 (64-Bit)/WIN. I only can resize vertically. Not horizontally.
Horizontally is styled that way so the field width is fixed at 100% of the column.
@ReLater @particthistle @chmst
I meant it
But why would you do that?
But why would you do that?
Purely by accident.
There, I just moved a little to the right, and the automatic itself was pulled down. And he did not pull it. The mouse is not visible in the video.
Thank you for your hint, this indeed is different, but I don't know why.
Why is it an issue for you? What would you suggest? Both as text-area or both as text?
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/29183.