Skip to content

Lot of Warnings with latest react-bootstrap release #16

@martinwh99

Description

@martinwh99

image

here is the code:

<FormGroup className="form-col-text-field">
                                                <Row>
                                                      <Col lg={3}className="form-col-label-right">
                                                            <ControlLabel>Language</ControlLabel>
                                                      </Col>
                                                      <Col lg={9} className="form-col-text-field">
                                                            <BootstrapSelect id="language" className="form-col-select" onChange={this.handleChange.bind(this)} >
                                                                  <optgroup>
                                                                        {languages.map(lang =>(lang.sortTop==true?
                                                                              <option key={lang.langCode} value={lang.langCode}>{lang.language}</option>
                                                                              :null)
                                                                        )};
                                                                  </optgroup>
                                                                  <optgroup>
                                                                        {languages.map(lang =>(lang.sortTop==false||lang.sortTop==undefined?
                                                                              <option key={lang.langCode} value={lang.langCode}>{lang.language}</option>
                                                                              :null)
                                                                        )};
                                                                  </optgroup>
                                                            </BootstrapSelect>
                                                      </Col>
                                                </Row>
                                          </FormGroup>

and this is how the react looks like

image

I'm also wondering where these ok signs come from:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions