We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
9.2.1
Latest Flutter
FormBuilderDropdown( name: 'weekday', decoration: InputDecoration( labelText: 'Weekday', ), initialValue: DateTime.sunday, allowClear: false, validator: FormBuilderValidators.compose( [FormBuilderValidators.required()], ), items: [ DropdownMenuItem<int>( value: DateTime.monday, child: Text("Monday"), ) ])
The dropdown shows an empty entry but still keeps the value in the state. When the user saves the form the value is returned as a valid selection.
The dropdown should fail as per design if an unknown option is given.
see minimal code example
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is there an existing issue for this?
Package/Plugin version
9.2.1
Platforms
Flutter doctor
Latest Flutter
Minimal code example
Current Behavior
The dropdown shows an empty entry but still keeps the value in the state. When the user saves the form the value is returned as a valid selection.
Expected Behavior
The dropdown should fail as per design if an unknown option is given.
Steps To Reproduce
see minimal code example
Aditional information
No response
The text was updated successfully, but these errors were encountered: