joomla / joomla-cms

Home of the Joomla! Content Management System
https://www.joomla.org
GNU General Public License v2.0
4.77k stars 3.65k forks source link

[4.0] com_contact.mail adding custom field editor as required is marked as optional and required #22056

Closed HRIT-Florian closed 5 years ago

HRIT-Florian commented 6 years ago

Steps to reproduce the issue

Create an editor custom mail field at context com_contact.mail. Mark it as requiered Check the editor custom field at contact form frotend

Expected result

Field should be required not optional

Actual result

Field is marked as required and optional

editorfield

System information (as much as possible)

Joomla! 4.0.0-alpha5-dev Development [ Amani ] 22-July-2018 22:58 GMT

Additional comments

Due to this solution https://github.com/joomla/joomla-cms/blob/staging/components/com_contact/layouts/joomla/form/renderfield.php#L31 which did now not more work till now, because editor tinymce https://github.com/joomla/joomla-cms/blob/4.0-dev/plugins/editors/tinymce/tinymce.php#L132 has no required class and required field param is also not accessacble at editors plugin onDisplay() method

ghost commented 5 years ago

@Didldu-Florian is this issue resolved?

joomla-cms-bot commented 5 years ago

Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/22056

ghost commented 5 years ago

Closed due the Lack of response. It can always reopened.


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