Issue I want to change this text to my custom text in all form builder validators in the app. enter image description here Solution You can use this package form_builder_validators which you can pass your custom error text like this
Continue readingTag: flutter-form-builder
The following StackOverflowError was thrown while calling onSubmitted for TextInputAction.done
Issue I am doing form saving with flutter 3.3.6 the code in the build method is: TextFormField( decoration: const InputDecoration(labelText: ‘Image URL’), textInputAction: TextInputAction.done, keyboardType: TextInputType.url, controller: _imageUrlController, focusNode: _imageUrlFocusNode, onSaved: (value) { _editedProduct = Product( id: _editedProduct.id, title: _editedProduct.title,
Continue readingChange date time picker header color in Flutter
Issue I’m using Flutter Form Builder package and it seems I can’t change the color directly using the FormBuilderDateTimePicker class, so I used the datePickerTheme in the ThemeData, datePickerTheme: const DatePickerThemeData( headerBackgroundColor: Color(0xFF2296F3), headerForegroundColor: Colors.white, backgroundColor: Color(0xFFE6F3FD), ), But the
Continue readingError: The getter 'FormBuilderValidators' isn't defined
Issue I am getting the following error from flutter: lib/screens/create_account_screen.dart:30:30: Error: The getter ‘FormBuilderValidators’ isn’t defined for the class ‘_CreateAccountScreenState’. – ‘_CreateAccountScreenState’ is from ‘package:myapp/screens/create_account_screen.dart’ (‘lib/screens/create_account_screen.dart’). Try correcting the name to the name of an existing getter, or defining a
Continue readingFlutter: How to create a custom TextFormField which can … , and also how to validate it?
Issue I am trying to create a custom TextFormField which can switch between Email / Phone / ID on Suffix icon click, but I don’t know how to validate it based on its current state (Email / Phone / ID).
Continue readingFlutter – FormBuilder, how to to disable FormBuilderTextField based on another FormBuilderTextField value length
Issue I have a FormBuilderTextField that I want to toggle it’s enabled property based on another FormBuilderTextField value length. I know there are ways with TextEditingController, but I want to try it another way because I have a lot of
Continue readingShowing different forms based on dropdown selection in flutter
Issue I’m creating a mobile application in which I want to use a dropdown to select a "note type" (to create a new note) and based on the selection from the dropdown I want to show a specific form for
Continue readingHiding and Displaying a Form Widget in Flutter
Issue I am aiming for my flutter page to have an ‘edit’ information button when the page is first loaded, whereby when this button is clicked, a Form widget appears for the user to update or ‘edit’ their information via
Continue readingMaking a field in formio calculated from other fields
Issue Please I am using formio to create a form, within the form two fields (currency) are to be added and a total is to be generated in a field called total. I have tried adding this custom javascript code
Continue readingChange the error message position in Flutter
Issue I have to make one application which take so many user input , that’s why i use so many Textfiled in my code for taking user input. An Textfiled validation time I simply use List of Global keys and
Continue reading