@@ -21,7 +21,7 @@ import {
2121 CDropdownMenu ,
2222 CDropdownToggle ,
2323 CForm ,
24- CFormControl ,
24+ CFormInput ,
2525 CInputGroup ,
2626 CInputGroupText ,
2727 CNav ,
@@ -85,7 +85,7 @@ Here's an example of all the sub-components included in a responsive light-theme
8585 </CNavItem >
8686 </CNavbarNav >
8787 <CForm className = " d-flex" >
88- <CFormControl type = " search" className = " me-2" placeholder = " Search" />
88+ <CFormInput type = " search" className = " me-2" placeholder = " Search" />
8989 <CButton type = " submit" color = " success" variant = " outline" >Search</CButton >
9090 </CForm >
9191 </CCollapse >
@@ -258,7 +258,7 @@ Place various form controls and components within a navbar:
258258 <CNavbar colorScheme = " light" className = " bg-light" >
259259 <CContainer fluid >
260260 <CForm className = " d-flex" >
261- <CFormControl type = " search" className = " me-2" placeholder = " Search" />
261+ <CFormInput type = " search" className = " me-2" placeholder = " Search" />
262262 <CButton type = " submit" color = " success" variant = " outline" >Search</CButton >
263263 </CForm >
264264 </CContainer >
@@ -272,7 +272,7 @@ Immediate child elements of `<CNavbar>` use flex layout and will default to `jus
272272 <CContainer fluid >
273273 <CNavbarBrand href = " #" >Navbar</CNavbarBrand >
274274 <CForm className = " d-flex" >
275- <CFormControl type = " search" className = " me-2" placeholder = " Search" />
275+ <CFormInput type = " search" className = " me-2" placeholder = " Search" />
276276 <CButton type = " submit" color = " success" variant = " outline" >Search</CButton >
277277 </CForm >
278278 </CContainer >
@@ -286,7 +286,7 @@ Input groups work, too. If your navbar is an entire form, or mostly a form, you
286286 <CForm className = " container-fluid" >
287287 <CInputGroup >
288288 <CInputGroupText id = " basic-addon1" >@</CInputGroupText >
289- <CFormControl placeholder = " Username" aria-label = " Username" aria-describedby = " basic-addon1" />
289+ <CFormInput placeholder = " Username" aria-label = " Username" aria-describedby = " basic-addon1" />
290290 </CInputGroup >
291291 </CForm >
292292 </CNavbar >
@@ -354,7 +354,7 @@ Theming the navbar has never been easier thanks to the combination of theming cl
354354 </CNavItem >
355355 </CNavbarNav >
356356 <CForm className = " d-flex" >
357- <CFormControl type = " search" className = " me-2" placeholder = " Search" />
357+ <CFormInput type = " search" className = " me-2" placeholder = " Search" />
358358 <CButton type = " submit" color = " light" variant = " outline" >Search</CButton >
359359 </CForm >
360360 </CCollapse >
@@ -391,7 +391,7 @@ Theming the navbar has never been easier thanks to the combination of theming cl
391391 </CNavItem >
392392 </CNavbarNav >
393393 <CForm className = " d-flex" >
394- <CFormControl type = " search" className = " me-2" placeholder = " Search" />
394+ <CFormInput type = " search" className = " me-2" placeholder = " Search" />
395395 <CButton type = " submit" color = " light" variant = " outline" >Search</CButton >
396396 </CForm >
397397 </CCollapse >
@@ -428,7 +428,7 @@ Theming the navbar has never been easier thanks to the combination of theming cl
428428 </CNavItem >
429429 </CNavbarNav >
430430 <CForm className = " d-flex" >
431- <CFormControl type = " search" className = " me-2" placeholder = " Search" />
431+ <CFormInput type = " search" className = " me-2" placeholder = " Search" />
432432 <CButton type = " submit" color = " primary" variant = " outline" >Search</CButton >
433433 </CForm >
434434 </CCollapse >
@@ -539,7 +539,7 @@ With no `<CNavbarBrand>` shown at the smallest breakpoint:
539539 </CNavItem >
540540 </CNavbarNav >
541541 <CForm className = " d-flex" >
542- <CFormControl type = " search" className = " me-2" placeholder = " Search" />
542+ <CFormInput type = " search" className = " me-2" placeholder = " Search" />
543543 <CButton type = " submit" color = " success" variant = " outline" >Search</CButton >
544544 </CForm >
545545 </CCollapse >
@@ -578,7 +578,7 @@ With a brand name shown on the left and toggler on the right:
578578 </CNavItem >
579579 </CNavbarNav >
580580 <CForm className = " d-flex" >
581- <CFormControl type = " search" className = " me-2" placeholder = " Search" />
581+ <CFormInput type = " search" className = " me-2" placeholder = " Search" />
582582 <CButton type = " submit" color = " success" variant = " outline" >Search</CButton >
583583 </CForm >
584584 </CCollapse >
@@ -617,7 +617,7 @@ With a toggler on the left and brand name on the right:
617617 </CNavItem >
618618 </CNavbarNav >
619619 <CForm className = " d-flex" >
620- <CFormControl type = " search" className = " me-2" placeholder = " Search" />
620+ <CFormInput type = " search" className = " me-2" placeholder = " Search" />
621621 <CButton type = " submit" color = " success" variant = " outline" >Search</CButton >
622622 </CForm >
623623 </CCollapse >
0 commit comments