diff --git a/apps/showcase/doc/common/apidoc/index.json b/apps/showcase/doc/common/apidoc/index.json index c57329d7f..bba598b86 100644 --- a/apps/showcase/doc/common/apidoc/index.json +++ b/apps/showcase/doc/common/apidoc/index.json @@ -10598,6 +10598,14 @@ "type": "boolean", "default": "false", "description": "When enabled, it removes component related styles in the core." + }, + { + "name": "inputId", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Identifier of the focus input to match a label defined for the dropdown." } ], "methods": [] diff --git a/packages/primevue/src/colorpicker/ColorPicker.d.ts b/packages/primevue/src/colorpicker/ColorPicker.d.ts index cfa2997da..edc17a2bc 100755 --- a/packages/primevue/src/colorpicker/ColorPicker.d.ts +++ b/packages/primevue/src/colorpicker/ColorPicker.d.ts @@ -201,6 +201,10 @@ export interface ColorPickerProps { * @defaultValue false */ unstyled?: boolean; + /** + * Identifier of the focus input to match a label defined for the dropdown. + */ + inputId?: string | undefined; } export interface ColorPickerSlots {} diff --git a/packages/primevue/src/colorpicker/ColorPicker.vue b/packages/primevue/src/colorpicker/ColorPicker.vue index 968a66be4..beb73264f 100755 --- a/packages/primevue/src/colorpicker/ColorPicker.vue +++ b/packages/primevue/src/colorpicker/ColorPicker.vue @@ -1,6 +1,6 @@