You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This watch is not triggered initially since it is missing the immediate attribute
Reproducer
No response
PrimeVue version
2.10.0
Vue version
2.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
No response
Steps to reproduce the behavior
Use the password component and use a variable with some content as v-model:
<Passwordv-model="myPasswordWithInitialValue" />
Look at the generated input, it will be empty.
Expected behavior
The generated input should display some content. Ex.
The text was updated successfully, but these errors were encountered:
service-paradis
added
the
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
label
Aug 26, 2022
Describe the bug
If we use the Password component with an initial value, the input will stay empty. Here is the reason for this:
:value="d_value"
.d_value
is defined by watching changes on the propvalue
(https://github.com/primefaces/primevue/blob/2.x/src/components/password/Password.vue#L95)immediate
attributeReproducer
No response
PrimeVue version
2.10.0
Vue version
2.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
No response
Steps to reproduce the behavior
v-model
:Expected behavior
The generated input should display some content. Ex.
The text was updated successfully, but these errors were encountered: