Create any component with a tag field like in joomla docs:
Do not define the "multiple="true"
as it is an optional parameter.
I expect the tag field to be optional when I don't define it as required. But when I don't choose "multiple" in the field parameters:
<option value="">Please select your option</option>
as in SQL field, but it does not work.As decsribed above, it forces the form to chose the first item of the tag and records it in the database even if you don't choose anything from the tags. It is never possible to leave this field empty in the single mode.
Latest all
I also couldn't manage to post the language field empty for all/any languages or post an asterisk as in article manager. The issue seems to be similar but I didn't dig into it much as it is OK for me to force any language or a default setting of the field at the moment.
Labels |
Added:
?
|
Labels |
Added:
Information Required
|
Status | New | ⇒ | Information Required |
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-06-15 22:58:16 |
Closed_By | ⇒ | Quy |
Closing due to no response.
I can't reproduce the issue. We have a field like this and the empty
- Select Tag -
option appears correctly.joomla-cms/administrator/components/com_contact/models/forms/filter_contacts.xml
Lines 58 to 67 in 2e40eb2