Inside Office UI Fabric React you could find TagPicker. For example, you could use it for country picker. In this scenario you would like to allow single selection mode on it.
In a correlation with office-ui-fabric-react fix #1304 they added property itemLimit on the basePicker and logic to not render the autofill “input” if the itemLimit is defined and equal to internal item count.
But inside last SPFx Yeoman Web Part template there is not yet this fix included in sp-office-ui-fabric-core, so you have to implement it by yourself. In example below I want to share with you my solution for this problem. Continue reading “SPFx – Office UI Fabric React – TagPicker – Item Limit”
