fix: component select form
This commit is contained in:
parent
506480d812
commit
ae4f9c25c4
|
@ -47,6 +47,7 @@ class SelectFormView extends StatelessWidget {
|
|||
bottomSheet() {
|
||||
showModalBottomSheet<void>(
|
||||
context: context,
|
||||
isDismissible: false,
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.only(
|
||||
topLeft: _borderRadius,
|
||||
|
@ -82,7 +83,10 @@ class SelectFormView extends StatelessWidget {
|
|||
),
|
||||
),
|
||||
IconButton(
|
||||
onPressed: () => Navigator.pop(context),
|
||||
onPressed: () {
|
||||
ctrl?.clear();
|
||||
Navigator.pop(context);
|
||||
},
|
||||
icon: const Icon(
|
||||
Icons.clear,
|
||||
size: 26,
|
||||
|
|
Loading…
Reference in New Issue
Block a user