Create a xml field type "category" which is a flat list of items
<field name="categories_catid" type="category" ... />
edit it the setting and see the field rendering :
to have a clear list that shows the selected item
the item is selected but the user can not see it
joomla 4
this is a problem with the CSS, more with the css class "form-select" added on the field
the selected item has a white background on a white list, then you can not see it
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
thank you !
this shall be by default, not as an alternative layout :)
Labels |
Added:
bug
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-09-01 15:36:48 |
Closed_By | ⇒ | brianteeman |
This is not a bug. It is working as designed. To achieve the desired result then the correct layout should be used.
Labels |
Removed:
bug
|
You need to use
layout="joomla.form.field.list-fancy-select"
For an example see any core usage of the field of the same type
joomla-cms/modules/mod_articles_latest/mod_articles_latest.xml
Lines 26 to 34 in c3b11ef