missing docs

pull/2862/head
Tuğçe Küçükoğlu 2022-08-12 15:54:51 +03:00
parent 16aa19525b
commit 14b3f939c8
6 changed files with 44 additions and 0 deletions

View File

@ -227,6 +227,18 @@ const CalendarProps = [
default: "body", 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.' 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", name: "placeholder",
type: "string", type: "string",

View File

@ -133,6 +133,10 @@ export interface InputNumberProps {
* Default value is true. * Default value is true.
*/ */
allowEmpty?: boolean | undefined; 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. * When present, it specifies that an input field is read-only.
*/ */

View File

@ -59,6 +59,10 @@ export interface PasswordProps extends InputHTMLAttributes {
* Default value is 'pi pi-eye'. * Default value is 'pi pi-eye'.
*/ */
showIcon?: string | undefined; showIcon?: string | undefined;
/**
* When present, it specifies that the component should be disabled.
*/
disabled?: boolean | undefined;
/** /**
* Placeholder text for the input. * Placeholder text for the input.
*/ */

View File

@ -429,6 +429,18 @@ export default {
<td>A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are "body" for document body <td>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.</td> and "self" for the element itself.</td>
</tr> </tr>
<tr>
<td>disabled</td>
<td>boolean</td>
<td>false</td>
<td>When present, it specifies that the element should be disabled.</td>
</tr>
<tr>
<td>readonly</td>
<td>boolean</td>
<td>false</td>
<td>When present, it specifies that an input field is read-only.</td>
</tr>
<tr> <tr>
<td>placeholder</td> <td>placeholder</td>
<td>string</td> <td>string</td>

View File

@ -272,6 +272,12 @@ Vertical
<td>true</td> <td>true</td>
<td>Determines whether the input field is empty.</td> <td>Determines whether the input field is empty.</td>
</tr> </tr>
<tr>
<td>disabled</td>
<td>boolean</td>
<td>false</td>
<td>When present, it specifies that the element should be disabled.</td>
</tr>
<tr> <tr>
<td>readonly</td> <td>readonly</td>
<td>boolean</td> <td>boolean</td>

View File

@ -155,6 +155,12 @@ import Password from 'primevue/password';
<td>pi pi-eye</td> <td>pi pi-eye</td>
<td>Icon to show displaying the password as plain text.</td> <td>Icon to show displaying the password as plain text.</td>
</tr> </tr>
<tr>
<td>disabled</td>
<td>boolean</td>
<td>false</td>
<td>When present, it specifies that the element should be disabled.</td>
</tr>
<tr> <tr>
<td>placeholder</td> <td>placeholder</td>
<td>string</td> <td>string</td>