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
[5.1] Allow custom fields form be manipulates like category form #42510
[5.1] Allow custom fields form be manipulates like category form #42510
Conversation
would love to test this if you could provide some realistic test instructions |
Co-authored-by: Brian Teeman <brian@teeman.net>
…-cms into 5.1/custom-fields-form
Done |
I will have to pass on testing this then |
Co-authored-by: Harald Leithner <leithner@itronic.at>
Co-authored-by: Harald Leithner <leithner@itronic.at>
I have tested this item ✅ successfully on 343863b This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42510. |
I have tested this item ✅ successfully on a86650f This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42510. |
I've restored @chmst 's test result in the issue tracker since the commit which has invalidated the test counter was just a clean branch update. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42510. |
Thank you! And also for support and testing @chmst @HLeithner @richard67 |
Summary of Changes
Allow a component to manipulate the custom field form like you can do with category view
Testing Instructions
$form->getName()
should givecom_fields.field.com_content.article
$form->removeField('display', 'params');
removes the "Automatic Display" fieldActual result BEFORE applying this Pull Request
No way to manipulate the form via PHP directly
Expected result AFTER applying this Pull Request
You can manipulate the form