Add null types to InputText and Password #2576
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Current behavior
It is not possible to use a nullable Type as input for InputText or Password component.
Expected behavior
It should be possible to use also null as input in InputText and Password component.
Minimal reproduction of the problem with instructions
The second and third InputText gives me typescript errors on build (using InputText or using Password)
What is the motivation / use case for changing the behavior?
I need the possibility to set my input data to null not undefined.
Please tell us about your environment:
Vue version: 3.2.25
PrimeVue version: 3.12.6
Browser: [all ]
The text was updated successfully, but these errors were encountered: