How do I create a dynamic drop down list with react-bootstrap
问题 The example code in the react-bootstrap site shows the following. I need to drive the options using an array, but I'm having trouble finding examples that will compile. <Input type="select" label="Multiple Select" multiple> <option value="select">select (multiple)</option> <option value="other">...</option> </Input> 回答1: You can start with these two functions. The first will create your select options dynamically based on the props passed to the page. If they are mapped to the state then the