diff --git a/api-generator/components/calendar.js b/api-generator/components/calendar.js index 595067450..f1a19b36b 100644 --- a/api-generator/components/calendar.js +++ b/api-generator/components/calendar.js @@ -227,6 +227,18 @@ const CalendarProps = [ default: "body", description: 'A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are "body" for document body and "self" for the element itself.' }, + { + name: "disabled", + type: "boolean", + default: "false", + description: "When present, it specifies that the element should be disabled." + }, + { + name: "readonly", + type: "boolean", + default: "false", + description: "When present, it specifies that an input field is read-only." + }, { name: "placeholder", type: "string", diff --git a/src/components/inputnumber/InputNumber.d.ts b/src/components/inputnumber/InputNumber.d.ts index d61fdd492..efad211c0 100755 --- a/src/components/inputnumber/InputNumber.d.ts +++ b/src/components/inputnumber/InputNumber.d.ts @@ -133,6 +133,10 @@ export interface InputNumberProps { * Default value is true. */ allowEmpty?: boolean | undefined; + /** + * When present, it specifies that the component should be disabled. + */ + disabled?: boolean | undefined; /** * When present, it specifies that an input field is read-only. */ diff --git a/src/components/password/Password.d.ts b/src/components/password/Password.d.ts index 5b6c158d4..75ae82507 100755 --- a/src/components/password/Password.d.ts +++ b/src/components/password/Password.d.ts @@ -59,6 +59,10 @@ export interface PasswordProps extends InputHTMLAttributes { * Default value is 'pi pi-eye'. */ showIcon?: string | undefined; + /** + * When present, it specifies that the component should be disabled. + */ + disabled?: boolean | undefined; /** * Placeholder text for the input. */ diff --git a/src/views/calendar/CalendarDoc.vue b/src/views/calendar/CalendarDoc.vue index 399c684be..3b74e5ecb 100755 --- a/src/views/calendar/CalendarDoc.vue +++ b/src/views/calendar/CalendarDoc.vue @@ -429,6 +429,18 @@ export default {