I am trying to disable lightning:button based on picklist field values, and the button needs to blurred out or Disabled for 4 picklist values, and i am writing lightning:button tag as mentioned below:
<lightning:button label="LABEL" onclick="{!c.dosomething}" disabled="{!or(item.fieldapi == 'value 1', item.fieldapi == 'value 2', item.fieldapi == 'value 3'. item.fieldapi == 'value 4')}"/>
Above works only for value 1 and value 2, but not for value 3 and value 4 if i change the order then again first 2 will work and gets disabled.
It will be a Great help for any solution