BUG: Dropdown search text disabled
This commit is contained in:
@@ -119,8 +119,10 @@ class _MihDropdownFieldState extends State<MihDropdownField> {
|
|||||||
enableSearch: widget.enableSearch,
|
enableSearch: widget.enableSearch,
|
||||||
enableFilter: widget.enableSearch,
|
enableFilter: widget.enableSearch,
|
||||||
enabled: widget.editable,
|
enabled: widget.editable,
|
||||||
textInputAction: TextInputAction.search,
|
textInputAction: widget.enableSearch
|
||||||
requestFocusOnTap: true,
|
? TextInputAction.search
|
||||||
|
: TextInputAction.none,
|
||||||
|
requestFocusOnTap: widget.enableSearch,
|
||||||
menuHeight: 400,
|
menuHeight: 400,
|
||||||
expandedInsets: EdgeInsets.zero,
|
expandedInsets: EdgeInsets.zero,
|
||||||
textStyle: TextStyle(
|
textStyle: TextStyle(
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ class _MihMineSweeperLeaderBoardState extends State<MihMineSweeperLeaderBoard> {
|
|||||||
],
|
],
|
||||||
requiredText: true,
|
requiredText: true,
|
||||||
editable: true,
|
editable: true,
|
||||||
enableSearch: true,
|
enableSearch: false,
|
||||||
validator: (value) {
|
validator: (value) {
|
||||||
return MihValidationServices().isEmpty(value);
|
return MihValidationServices().isEmpty(value);
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ class _MihMineSweeperLeaderBoardState extends State<MyScoreBoard> {
|
|||||||
],
|
],
|
||||||
requiredText: true,
|
requiredText: true,
|
||||||
editable: true,
|
editable: true,
|
||||||
enableSearch: true,
|
enableSearch: false,
|
||||||
validator: (value) {
|
validator: (value) {
|
||||||
return MihValidationServices().isEmpty(value);
|
return MihValidationServices().isEmpty(value);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user