-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[com_fields] Field type Repeatable. Editor and Textarea subfields remove HTML since J 3.9.7 #25189
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
Changes from 5 commits
400ed4e
f1fb47f
ecd216b
ae53efe
cf28b13
e7c5b91
1824077
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -65,6 +65,11 @@ public function onCustomFieldsPrepareDom($field, DOMElement $parent, JForm $form | |
| $child->addAttribute('name', $formField->fieldname); | ||
| $child->addAttribute('type', $formField->fieldtype); | ||
| $child->addAttribute('readonly', $readonly); | ||
|
|
||
| if (isset($formField->fieldfilter)) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ReLater I would suggest to set JNO to value="" and change isset() to !empty() also I think you have to cast it to (string) and maybe better compare it to !== ''. |
||
| { | ||
| $child->addAttribute('filter', $formField->fieldfilter); | ||
| } | ||
| } | ||
|
|
||
| $fieldNode->setAttribute('formsource', $fieldsXml->asXML()); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.