render(){return(<div><Tabs defaultActiveKey="profile" id="uncontrolled-tab-example"><Form> <Tab eventKey="home" title="Home"> <input type="text" name="name"/> </Tabs> <Tab eventKey="profile" title="Profile"> <input type="text" name="age"/> </Tab> <Tab eventKey="contact" title="Contact" disabled> <button type="submit">Submit</button> </Tab></Form></Tabs></div>);}無法在 ReactBootstrap 的選項卡中使用表單。該Tab組件不應該被渲染!它是一個抽象組件,僅作為Tabs組件的直接子級有效。對于自定義選項卡組件,直接使用 TabPane 和 TabsContainer。這對我來說非常重要。我需要以不同形式劃分的整個表格謝謝
無法在 ReactBootstrap 的選項卡中使用表單
森林海
2022-10-08 15:26:00