flutter-form-builder-ecosystem / flutter_form_builder

Simple form maker for Flutter Framework
https://pub.dev/packages/flutter_form_builder
MIT License
1.49k stars 537 forks source link

Support FormBuilderNumberField, To use this formbuilder filed for int/double values like amount, age #1273

Open NITK10CA49 opened 1 year ago

NITK10CA49 commented 1 year ago

Is there an existing issue for this?

Package/Plugin version

9.1.0

What you'd like to happen

Support FormBuilderNumberField, To use this formbuilder filed for int/double values like amount, age we are getting string value from form values. This will make issue while we using from entity json data to form data and vice verse. Not able to use the textfiled for number in smooth way.

Alternatives you've considered

Keyboard type I am selecting as keyboard input type as number but while taking from form data we are getting string as I am using FormBuilderTextField.

Aditional information

I have try to use intialValue:"${amountInInt}". But int this assigning is fine, but we getting it will be issue.

deandreamatias commented 1 year ago

Hi Please refactor your issue

  1. Title shorter
  2. Fill all issue description section with information

Thanks

NITK10CA49 commented 1 year ago

Complete Description: Support FormBuilderNumberField, To use this formbuilder filed for int/double values like amount, age we are getting string value from form values. This will make issue while we using from entity json data to form data and vice verse. Not able to use the textfiled for number in smooth way.