Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DefaultTextInputFormatter subclassing #44

Open
dankinsoid opened this issue Jun 29, 2022 · 1 comment
Open

DefaultTextInputFormatter subclassing #44

dankinsoid opened this issue Jun 29, 2022 · 1 comment

Comments

@dankinsoid
Copy link

dankinsoid commented Jun 29, 2022

In DefaultTextInputFormatter method formatInput calls textFormatter.unformat and textFormatter.format methods.
I suggest to call self.format and self.unformat instead, to allow for subclasses change the behavior correctly.

@dankinsoid
Copy link
Author

Also it would be great to make textPattern and patternSymbol properties public

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants