formio / angular

JSON powered forms for Angular
https://formio.github.io/angular-demo
MIT License
613 stars 461 forks source link

[Question] how to disable to set the defaultValue to all the questions? #1056

Open rosieweqollab opened 2 months ago

rosieweqollab commented 2 months ago

Hi,

I'm struggling for this, i'm wathcing for change() emitter and everytime there's a changes i was able to get the data object meaning this is the answers of the questions, but i already set the defaultValue to null or removed it in the json, still the return in change() still has defaultValue.

Expected is when the user doesn't do anything to the form like set no answer to the question, the response from the change should be undefined or null.

here's the sample return from the change eventemitter. i didnt do anything to the question but it has "" empty value.

Screenshot 2024-03-13 at 4 11 07 PM