Crash in TextField with TextCapitalization.WORDS #4859
Labels
bug
Something isn't working
controls
has reproducible steps
Issue is reproducible
platform: mac
Specific to macOS
Duplicate Check
Describe the bug
When using a
TextField
in Flet withcapitalization=ft.TextCapitalization.WORDS
, if the user types three consecutive spaces, the application crashes. Instead, macOS displays a system crash report for the Flet executable.Code sample
Code
To reproduce
Expected behavior
The application should not crash. Instead, it should allow multiple spaces without issues, or at least handle the input safely.
Screenshots / Videos
Captures
Operating System
macOS
Operating system details
Big Sur 11.7.10
Flet version
0.26.0
Regression
I'm not sure / I don't know
Suggestions
No response
Logs
Logs
No Python traceback was generated.
Additional details
No response
The text was updated successfully, but these errors were encountered: