Can't import CFormControl

Failed to compile.

./src/pages/dashcontainer/header.js
Attempted import error: ‘CFormControl’ is not exported from ‘@coreui/react’.

Any Ideas?

Got the same error when trying to import CFormCheck. It seems some of the new components in the manual are not included yet.

@Thatcooldevguy @Soren-365
What’s your version of @coreui/react ?

@xidedix mine is 3.4.6 and I cannot import either

Im also using the same version unable to import form controls for validation

I’m also unable to import CFormControl and CFormCheck on version 3.4.6:

Attempted import error: ‘CFormControl’ is not exported from ‘@coreui/react’.

Attempted import error: ‘CFormCheck’ is not exported from ‘@coreui/react’.

having the same issue with CFormFeedback

Attempted import error: ‘CFormFeedback' is not exported from '@coreui/react

Did anyone figure out the solution to this?

You are right, the docs are redirecting to CoreUI 4.0, which is in Beta… and 3.0 doesn’t have these components…

One solution is to copy those components into your library and use them?

that sounds good to me, thanks!

3.4.6. i will consider to upgrade. thanks