primevue icon indicating copy to clipboard operation
primevue copied to clipboard

[v4 beta1: InputMask] Placeholder attribute does not work

Open ronaldtveen opened this issue 2 months ago • 0 comments

Describe the bug

In V3 you can do a <InputMask v-model="example" placeholder="Some placeholder" /> but in V4 this never shows the actual placeholder.

Reproducer

https://stackblitz.com/edit/fnhizx?file=src%2FApp.vue

PrimeVue version

v4 beta1

Vue version

3.x

Language

ALL

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

  • https://primevue.org/inputmask/ The v3 docs do show show the placeholder
  • https://v4.primevue.org/inputmask/ The v4 docs do not show the placeholder

Also check the stackblitz where I show that the <InputText /> does work, but the <InputMask> does not.

Expected behavior

The placeholder should be shown for the <InputMask> too when provided.

ronaldtveen avatar Apr 30 '24 10:04 ronaldtveen