Topic: SelectOption: Cannot read property 'parentNode' of null
bioaster pro asked 6 years ago
<Row> <Col xs="12"> <Select getValue={this.getSelectManagers} multiple> <SelectInput selected="Choose your option" /> <SelectOptions> <SelectOption>Option nr 1</SelectOption> <SelectOption>Option nr 2</SelectOption> <SelectOption>Option nr 3</SelectOption> </SelectOptions> </Select> <label>Example label</label> </Col> </Row>And I've got the following error:
Uncaught TypeError: Cannot read property 'parentNode' of nullThis is triggered at line 25 of src/components/pro/SelectOption.js file. Any idea ?
Jakub Mandra staff answered 6 years ago
bioaster pro commented 6 years ago
Wow, it works... That's the new "turn it on and off again" Thanks a lot!FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB React
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: Yes
- Provided link: No