This commit is contained in:
parent
23de275e11
commit
21af9be9a8
@ -66,10 +66,9 @@ class _AddMountScreenState extends State<AddMountScreen> {
|
|||||||
const Text('Provider Type'),
|
const Text('Provider Type'),
|
||||||
const SizedBox(width: constants.padding),
|
const SizedBox(width: constants.padding),
|
||||||
DropdownButton<String>(
|
DropdownButton<String>(
|
||||||
|
autofocus: true,
|
||||||
value: _mountType,
|
value: _mountType,
|
||||||
onChanged: (mountType) {
|
onChanged: (mountType) => _handleChange(mountType ?? ''),
|
||||||
_handleChange(mountType ?? '');
|
|
||||||
},
|
|
||||||
items:
|
items:
|
||||||
constants.providerTypeList
|
constants.providerTypeList
|
||||||
.map<DropdownMenuItem<String>>((item) {
|
.map<DropdownMenuItem<String>>((item) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user