I\'m sure there is a way to do this, but I just can\'t see how yet.
What I\'d like to do, is add a Picker component, but rather than hard-code the list of items, fet
You can try this one.
this.setState({ facilityId: itemValue, facilityPicked: true })}> {facilities.map((facility, i) => { return })}
Here, facilities is a list of object having id and facility_name as key.