Topic: SelectOption: Cannot read property 'parentNode' of null
<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 premium answered 7 years ago
pidupuis pro commented 7 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
- User: Pro
- Premium support: No
- Technology: MDB React
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: Yes
- Provided link: No