[FormBuilderDateTimePicker]: onPressed of suffixIcon don't work on Windows / Web #1357
Open
4 of 7 tasks
Labels
bug
Something isn't working
Is there an existing issue for this?
Package/Plugin version
9.2.0
Platforms
Flutter doctor
Flutter doctor
Minimal code example
Code sample
Current Behavior
I have tried to set IconButton to FormBuilderDateTimePicker.decoration.suffixIcon.
However, when I run the app on Windows and Web, when I tap the IconButton, the IconButton's onPressed is not called and the Form's tap event is called.
Same situation as #1205.
Expected Behavior
When the application is run on Windows and Web, onPressed function (like Reset) cannot be used using the IconButton.
Steps To Reproduce
Aditional information
If the application is set to run as "Android Emulator API 33 (mobile)" and Run, "onIconPressed" will be logged when the IconButton is clicked.
The same problem occurs in the official example application.
https://github.com/flutter-form-builder-ecosystem/flutter_form_builder/blob/26bba7b36e8af84e2fc9f6f2e076e47562ee8f03/example/lib/sources/complete_form.dart
example.2024-01-29.08-38-08.mp4
The text was updated successfully, but these errors were encountered: