Merge pull request #8 from DieLustigenTierwesen/copilot/sub-pr-6-again
Fix compile error: `initialValue` → `value` in `DropdownButtonFormField`
This commit is contained in:
commit
aa2c4883c1
1 changed files with 1 additions and 1 deletions
|
|
@ -180,7 +180,7 @@ class _ManageCollectionScreenState extends State<ManageCollectionScreen> {
|
||||||
const SizedBox(height: 12),
|
const SizedBox(height: 12),
|
||||||
DropdownButtonFormField<String>(
|
DropdownButtonFormField<String>(
|
||||||
isExpanded: true,
|
isExpanded: true,
|
||||||
initialValue: inviteRole,
|
value: inviteRole,
|
||||||
decoration: const InputDecoration(
|
decoration: const InputDecoration(
|
||||||
labelText: 'Role',
|
labelText: 'Role',
|
||||||
prefixIcon: Icon(Icons.security_outlined),
|
prefixIcon: Icon(Icons.security_outlined),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue