Q: How to display a select box (type: list) in a Joomla XML file to meet Joomla 5 standards?
โพสต์แล้ว: 26/12/2024 11:17 pm
In Joomla 5, within a custom component, a type list (select box in an XML file) is not displaying according to Joomla 5 standards. Instead, it appears as a simple HTML select box. How can I fix this to make it display as a Joomla 5 standards select box?
Actual result
Expected Result
โค้ด: เลือกทั้งหมด
<field
name="published"
type="list"
label="JSTATUS"
default="1">
<option value="1">JPUBLISHED</option>
<option value="0">JUNPUBLISHED</option>
</field>
Actual result
Expected Result