? ? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
30 Nov 2020

Every field must have a label. This PR ensures that a label is rendered for the text editor. It is not visually displayed as it has a class sr-only so there is no visible change.

If you apply the PR and inspect the source of the edit article page you will see that a label has been added as shown in the screenshot below

image

cc @carcam

avatar brianteeman brianteeman - open - 30 Nov 2020
avatar brianteeman brianteeman - change - 30 Nov 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 30 Nov 2020
Category Front End com_content Language & Strings
avatar sandewt
sandewt - comment - 30 Nov 2020

The class below is also added. Is that the intention?

<div class="controls">
avatar brianteeman
brianteeman - comment - 30 Nov 2020

That is what renderfield does

avatar ceford ceford - test_item - 1 Dec 2020 - Tested successfully
avatar ceford
ceford - comment - 1 Dec 2020

I have tested this item successfully on 8ec5876


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31539.

avatar gostn gostn - test_item - 1 Dec 2020 - Tested successfully
avatar gostn
gostn - comment - 1 Dec 2020

I have tested this item successfully on 8ec5876


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31539.

avatar sandewt sandewt - test_item - 1 Dec 2020 - Tested successfully
avatar sandewt
sandewt - comment - 1 Dec 2020

I have tested this item successfully on 8ec5876

Joomla! 4.0.0-beta6-dev Development [ Mañana ] 27-October-2020 19:54 GMT


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31539.

avatar alikon alikon - change - 1 Dec 2020
Status Pending Ready to Commit
avatar alikon
alikon - comment - 1 Dec 2020

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31539.

avatar richard67 richard67 - change - 1 Dec 2020
Labels Added: ? ? ?
avatar Yiannistaos
Yiannistaos - comment - 3 Dec 2020

@brianteeman
The hiddenLabel should be false or true?

<field
	name="articletext"
	type="editor"
	label="COM_CONTENT_FIELD_ARTICLETEXT_LABEL"
	hiddenLabel="false"
	buttons="true"
	filter="JComponentHelper::filterText"
	asset_id="com_content"
/>

I suppose false, and it will be look like the screenshot below:

screenshot-joomla-cms-4 test-2020 12 03-03_30_00

What do you think?

avatar Yiannistaos Yiannistaos - test_item - 3 Dec 2020 - Tested successfully
avatar Yiannistaos
Yiannistaos - comment - 3 Dec 2020

I have tested this item successfully on 8ec5876


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31539.

avatar drmenzelit
drmenzelit - comment - 7 Dec 2020

@brianteeman the PR is RTC and I would like to merge it, but there is an open question from @Yiannistaos, can you please answer it? Thanks

avatar brianteeman
brianteeman - comment - 7 Dec 2020

The code is as intended

avatar Yiannistaos
Yiannistaos - comment - 7 Dec 2020

Ok!

avatar drmenzelit drmenzelit - change - 7 Dec 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-12-07 18:09:35
Closed_By drmenzelit
Labels
avatar drmenzelit drmenzelit - close - 7 Dec 2020
avatar drmenzelit drmenzelit - merge - 7 Dec 2020
avatar drmenzelit
drmenzelit - comment - 7 Dec 2020

Thanks!

Add a Comment

Login with GitHub to post a comment