@@ -4,9 +4,9 @@ import { CFormFloating } from './CFormFloating'
44import { CFormLabel } from './CFormLabel'
55import { CFormText } from './CFormText'
66
7- type CFormControlValidationProps = InstanceType < typeof CFormControlValidation > [ '$props' ]
7+ import type { ComponentProps } from '../../utils/ComponentProps'
88
9- interface CFormControlWrapperProps {
9+ interface CFormControlWrapperProps extends ComponentProps < typeof CFormControlValidation > {
1010 floatingLabel ?: string
1111 id ?: string
1212 label ?: string
@@ -27,7 +27,9 @@ const CFormControlWrapper = defineComponent({
2727 /**
2828 * @ignore
2929 */
30- id : String ,
30+ id : {
31+ type : String ,
32+ } ,
3133 /**
3234 * Add a caption for a component.
3335 *
@@ -41,7 +43,7 @@ const CFormControlWrapper = defineComponent({
4143 */
4244 text : String ,
4345 } ,
44- setup ( props : CFormControlWrapperProps & CFormControlValidationProps , { slots } ) {
46+ setup ( props : CFormControlWrapperProps , { slots } ) {
4547 const formControlValidation = ( ) =>
4648 h (
4749 CFormControlValidation ,
@@ -50,7 +52,6 @@ const CFormControlWrapper = defineComponent({
5052 feedback : props . feedback ,
5153 feedbackInvalid : props . feedbackInvalid ,
5254 feedbackValid : props . feedbackValid ,
53- floatingLabel : props . floatingLabel ,
5455 invalid : props . invalid ,
5556 tooltipFeedback : props . tooltipFeedback ,
5657 valid : props . valid ,
0 commit comments