When using multiple fields on showon that use complex options, they does not recognize simultaneous use of OR e AND.
field1:1[AND]field2:1[OR]field3:0
In this case, they consider only the last comparison, field2:1[OR]field3:0
I'm testing this in joomla 3.7.2
Labels |
Added:
?
|
Title |
|
Category | ⇒ | com_fields |
Title |
|
Status | New | ⇒ | Information Required |
This issue is not related to custom fields as we do not support the showon setting by now.
@angelovianajr can you please close this issue because of comment above?
I didn't say that the issue itself is wrong, just said that the issue is not related to custom fields.
Category | com_fields | ⇒ | com_fields Feature Request |
set Category "Feature Request" for "Shown on" in "com_fields".
Status | Information Required | ⇒ | Discussion |
Title |
|
Title |
|
Labels |
Added:
J3 Issue
|
Title |
|
Confirmed this bug is still present in Joomla 3.9.4 as I've just been bitten by it. The two cases that are incorrect are
field1:1[AND]field2:1[OR]field3:0
and
field1:1[OR]field2:1[AND]field3:0
both of which completely ignore the first comparison.
What is needed is proper left-right precedence and, ideally, brackets to override left-right precedence when required.
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-03-15 15:39:56 |
Closed_By | ⇒ | joomla-cms-bot |
Closed_By | joomla-cms-bot | ⇒ | franz-wohlkoenig |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/16954
@laoneo can you please have a Look?
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16954.