User tests: Successful: Unsuccessful:
This PR fixes the issue of the deprecated warning by not removing the default_field but setting it to hidden thru the form params instead.
Pull Request for Issue #46187 .
Removed default_value from the remove fields logic in the prepareForm method.
Added the default_value as a hidden field through the note.xml params file.
Deprecated: DOMCdataSection::__construct(): Passing null to parameter #1 ($data) of type string is deprecated in \administrator\components\com_fields\src\Plugin\FieldsPlugin.php on line 277
No Deprecated warnings and default value field is still not visible.
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Category | ⇒ | Front End Plugins |
| Title |
|
||||||
I have tested this item ✅ successfully on f88b627
| Status | Pending | ⇒ | Ready to Commit |
| Labels |
Added:
PR-6.0-dev
|
||
RTC
I have tested this item ✅ successfully on f88b627
Works! Hiding the default value field is probably the best option to keep things from breaking.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46196.