Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Angular] renderOptins witih noDefaults: true for radio button, select, number type throws error #5534

Open
rosieweqollab opened this issue Mar 13, 2024 · 0 comments

Comments

@rosieweqollab
Copy link

**In Angular adding a renderOptions with noDefaults: true for radio button, select, number type throws error *
Hi, my problem is that I want to submit the form with only those question that filled out only by the user I saw in the docs that using noDefaults and it will filter the submit data, however it isn't the case. When I set the noDefault to true, it returns an error in the console which leads not to load the form and it showing the loading spinner.

Version/Branch
angular v17
"@formio/angular": "^7.0.0",
"@formio/js": "^5.0.0-rc.39",

To Reproduce
Steps to reproduce the behavior:

  1. set [render]= "{noDefault: true}" in angular

Expected behavior
It should not include in the submit all those not filled out by the user
radio button no default value
Screenshot 2024-03-14 at 1 31 03 AM
how i set it in the code angular
Screenshot 2024-03-14 at 1 31 26 AM
form keeps on loading with the spinner might due to console error
Screenshot 2024-03-14 at 1 31 54 AM
console error
Screenshot 2024-03-14 at 1 32 02 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant