angular icon indicating copy to clipboard operation
angular copied to clipboard

Numbers with default 0

Open beniaminp opened this issue 7 years ago • 4 comments

Hello!

I have a problem with number fields in rendering form. If I not choose a default value for a number field, it is coming with 0 implicit. Can I make it to come empty in the begging?

Thank you very much!

beniaminp avatar May 07 '18 13:05 beniaminp

Any solution for this !

TyreX6 avatar Sep 19 '18 20:09 TyreX6

My solution was to make it textfield and add a tag on with to know that is a number. After that, I process everything in my app. It is not perfect, but it's working :).

beniaminp avatar Sep 20 '18 05:09 beniaminp

Hello, This is William with the Form.io support team. Thanks for reaching out.

We are unable to replicate this issue on our end.

If you are using the latest renderer version we need your form embed code to accurately replicate on our end. You could be on an old renderer or it could be a combination of components or settings on your form.

We also have support packages available if you would like assistance in solving this issue. Please let me know if you have any further questions or concerns.

Thanks,

William Gay Form.io Developer Support

wag110894 avatar Sep 20 '18 16:09 wag110894

Hello!

I also have a problem with number fields in rendering form. If I choose a default value for a number field, it is coming with 0 implicit, which is okay. But, if I just removed everything in the field that I already entered, in the background, that specific property is getting removed from the data object in the (change) event. Can I atleast change that value to 0, if there is nothing in the field? Also, if possible mention the latest "angular-formio" version.

Thank you very much!

manoj5638 avatar Jul 12 '22 10:07 manoj5638

Closed due to no activity. If the issue is still relevant, please reopen

HannaKurban avatar Aug 31 '23 13:08 HannaKurban