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
Everything is fine,when readOnly is Not set to true.
When readOnly is set to true, the value is displayed instead of child.
For example, when readOnly=true, initialValue='1',
I expect to show "apple" but actually show "1".
Map labelValue = Map(); labelValue['apple'] = '1'; labelValue['banana'] = '2'; var fbd = FormBuilderDropdown( attribute: 'test', initialValue: '1', decoration: InputDecoration( labelText: 'test', ), items: labelValue.entries.map((item) { return DropdownMenuItem( value: item.value, child: Text(item.key), ); }).toList(), //readOnly: true, ); return MaterialApp( home: Scaffold( appBar: AppBar( title: Text('test'), ), body: Padding( padding: const EdgeInsets.all(8.0), child: Center( child: fbd, ), ), ), );
The text was updated successfully, but these errors were encountered:
9fb15c7
No branches or pull requests
Everything is fine,when readOnly is Not set to true.
When readOnly is set to true, the value is displayed instead of child.
For example, when readOnly=true, initialValue='1',
I expect to show "apple" but actually show "1".
The text was updated successfully, but these errors were encountered: