diff --git a/api-generator/components/inputnumber.js b/api-generator/components/inputnumber.js index 506cabd09..c0c9775ee 100644 --- a/api-generator/components/inputnumber.js +++ b/api-generator/components/inputnumber.js @@ -137,6 +137,12 @@ const InputNumberProps = [ default: "false", description: "When present, it specifies that an input field is read-only." }, + { + name: "placeholder", + type: "string", + default: "null", + description: "Placeholder text for the input." + }, { name: "inputId", type: "string", diff --git a/src/components/inputnumber/InputNumber.d.ts b/src/components/inputnumber/InputNumber.d.ts index 7acc5d005..d61fdd492 100755 --- a/src/components/inputnumber/InputNumber.d.ts +++ b/src/components/inputnumber/InputNumber.d.ts @@ -137,6 +137,10 @@ export interface InputNumberProps { * When present, it specifies that an input field is read-only. */ readonly?: boolean | undefined; + /** + * Placeholder text for the input. + */ + placeholder?: boolean | undefined; /** * Identifier of the focus input to match a label defined for the chips. */ diff --git a/src/components/inputnumber/InputNumber.vue b/src/components/inputnumber/InputNumber.vue index 3df4ce9d8..be53eb441 100755 --- a/src/components/inputnumber/InputNumber.vue +++ b/src/components/inputnumber/InputNumber.vue @@ -1,6 +1,6 @@