Related to a previous question but with a reproducible example, i just can't seem to set the value of any picklist fields when using lightning:inputField, any ideas?
Component
<aura:component implements="flexipage:availableForRecordHome, force:hasRecordId">
<div class="slds-p-bottom_large slds-p-left_large" style="width:500px">
<lightning:recordEditForm aura:id="recordViewForm"
recordId="{!v.recordId}"
objectApiName="Contact">
<lightning:messages />
<lightning:inputField fieldName="FirstName" />
<lightning:inputField fieldName="LastName" aura:id="lastname"/>
<lightning:inputField fieldName="Birthdate" />
<lightning:inputField fieldName="Phone" />
<!--Picklist-->
<lightning:inputField fieldName="Country__c" aura:id="Country__c"/>
<lightning:button label="Update" variant="brand" onclick="{!c.update}"/>
</lightning:recordEditForm>
</div>
</aura:component>
Controller
({
update: function(component, event, helper) {
//alert(component.find("Country__c"));
component.find("Country__c").set("v.value", "Ireland");
},
})