Open dninet opened 3 years ago
Hi @AlbertDavid94, thank you for filing this issue.
I tested this on the latest master and stable channel and the issue is reproducible
Thank you
More precisely, the newline is not supported in TextFormField
for keyboardType: TextInputType.streetAddress
. If you use TextInputType.multiline
, you can enter multiple lines into the TextFormField
.
Maybe even more precisely, it seems not to be supported for TextInputType.text
which is the fallback value for the unsupported TextInputType.streetAddress
By the way, I can reproduce the issue on Linux as well. For Linux there seems be a similar fallback behavior:
I doubt this is a web-specific issue. What happens if you try building a macOS app?
I can reproduce the issue on macOS (desktop) as well.
On iOS emulator the multi-line address can be entered, just as on the Android emulator.
cc @justinmc
I'm wondering if this might be more general than just newlines. https://github.com/flutter/flutter/issues/96726 was filed which indicates that onsubmit is not firing when using the enter key, though I haven't tried to repro. Wondering if possibly related to https://github.com/flutter/flutter/pull/90211.
I can still reproduce this (on Mac) though I see that https://github.com/flutter/flutter/issues/96726 and https://github.com/flutter/flutter/pull/90211 were merged.
This is still an issue on Desktop, on Android the new line keyboard key is visible, but tapping it does not insert new line. so it's still all broken.
The triaged-desktop
label is irrelevant if there is no team-desktop
label or fyi-desktop
label.
Steps to Reproduce
Expected results:
A new line
Actual results:
Not a new line
I have found similar issues on github, all of which were left unanswered and automatically closed by bots.