Built a module and use the Joomla Repeatable Field and use this with an editor field type.
Contents could be created, edited, changed and saved.
When using the editor field type with an Editor like Tiny or JCE the contents aren't saved. If I disable any editor and use "none" sidewide, my contents could be saved.
But here the problem now is, that I cannot use any HTML-Tags....
After saving the Repeatable-Field my HTML-Tags (like<p></p>)
are saved....but when I tick the modules' Save-Button to save my module at all, the HTML-Tags are stripped.
Even with Raw-Filtering.
Joomla 3.8.10
PHP Version 7.2.3
Labels |
Added:
?
|
Category | ⇒ | Fields |
Status | New | ⇒ | Information Required |
Just as a by-the-way-recommendation: Use a field of type "subform" instead of "repeatable". Field repeatable will be removed from Joomla-4 core. Repeatable has several "problems" that makes it unhandy.
What does that mean? Are you guys seriously adding a new feature in 3.9 to then remove it in 4? If it's broken just don't add it at all, makes no sense.
No, JFormFieldRepeatable
is deprecated in favor of JFormFieldSubform
. Unfortunately "repeatable" seems to get used in a lot of contexts making that a rather confusing deprecation.
Oooh ok, just a name change. Cool.
Labels |
Added:
J3 Issue
|
can this Issue be closed?
can this Issue be closed?
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-08-18 11:50:02 |
Closed_By | ⇒ | brianteeman |
What does that mean? Are you guys seriously adding a new feature in 3.9 to then remove it in 4? If it's broken just don't add it at all, makes no sense.
I think you got a little confused here. Repeatable was added in 3.2 and Subform was added in 3.6 and subform was marked as deprecated at the time.
Closing as the solution is to use subform
Just as a by-the-way-recommendation: Use a field of type "subform" instead of "repeatable". Field repeatable will be removed from Joomla-4 core. Repeatable has several "problems" that makes it unhandy.