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

Add textCapitalization property #77

Closed
TomJFox opened this issue Apr 27, 2023 · 2 comments
Closed

Add textCapitalization property #77

TomJFox opened this issue Apr 27, 2023 · 2 comments
Labels
easy fix should be relatively easy to fix fixed The issue is fixed in new release severe: new feature Request for a new capability or a feature

Comments

@TomJFox
Copy link
Contributor

TomJFox commented Apr 27, 2023

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I would like to configure the textField created by SearchField with textCapitalization property.
This would allow for Capitalization to be set on the field so that the value entered is automatically capitalized. See links in Additional Context below.

Describe the solution you'd like
A clear and concise description of what you want to happen.
Request textCapitalization is added to the properties which can be set on SearchField and the value (if set) is then passed to TextFormField when building. TextFormField has this property, so the property simply needs to be exposed via SearchField and then passed to TextFormField.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
I have added the property to the code myself, but would prefer it is added to SearchField, so all can take advantage.

Additional context
Add any other context or screenshots about the feature request here.
https://api.flutter.dev/flutter/material/TextField/textCapitalization.html
https://api.flutter.dev/flutter/services/TextCapitalization.html

@maheshmnj maheshmnj added severe: new feature Request for a new capability or a feature easy fix should be relatively easy to fix labels Apr 27, 2023
@maheshmnj
Copy link
Owner

Hi @TomJFox, Thanks for filing the issue. Feel free to file a PR if you are interested and I would be happy to review.

TomJFox added a commit to TomJFox/searchfield that referenced this issue Apr 28, 2023
Added textCapitalization for maheshmnj#77
@maheshmnj
Copy link
Owner

Published v0.7.8

@maheshmnj maheshmnj added the fixed The issue is fixed in new release label May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy fix should be relatively easy to fix fixed The issue is fixed in new release severe: new feature Request for a new capability or a feature
Projects
None yet
Development

No branches or pull requests

2 participants