I want to conditionally render one of the fields from recordEditForm. I've already done with attributes that are outside of form, but this time I want to bind the directly.
Thinking something like this along the lines:
<aura:attribute name="myBooleanAttribute" type="Boolean" access="private"/>
<lightning:recordEditForm
onsuccess="{!c.redirect}"
onsubmit="{!c.showSpinner}"
onload="{!c.hideSpinner}"
onerror="{!c.hideSpinner}"
recordId="{!v.recordId}"
objectApiName="Opportunity">
<lightning:inputField fieldName="SomeBoolean__c" value="{!v.myBooleanAttribute}"/>
<lightning:inputField class="{!v.myBooleanAttribute?'':'slds-hide'}" fieldName="Move_in_Date__c"/>
</lightning:recordEditForm>
However this doesn't seem to bind them both ways...