User tests: Successful: Unsuccessful:
Joomla saves and loads multiple field values as JSON, but it doesn't load default field values as JSON.
Add the possibility to load multiple default field values as JSON
Adding the default attribute to the field access with the json value "[1,2]" to the file administrator/components/com_content/models/forms/filter_articles.xml
<field
name="access"
type="accesslevel"
multiple="true"
class="multipleAccessLevels"
onchange="this.form.submit();"
default="[1,2]"
/>
The filter is enabled and the access levels "Public" and "Registered" are selected.
The filter is disabled
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
I have tested this item
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
Ready to Commit after two successful tests.
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-07-21 01:06:16 |
Closed_By | ⇒ | mbabker | |
Labels |
Added:
?
|
Duplicate #19782. Can you test it?