I have a lightning:input field in which I need to use ternary operator in "value" as shown below but it does not work. I believe I am wrong with the syntax.
<lightning:input name="user" placeholder="Search" value="{!isCreate == 'true' ? !acc.user : !acc.owner}"/>
Where, acc.user and acc.owner has value. acc is iterating variable of List.