Add textCapitalization property #77
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
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
The text was updated successfully, but these errors were encountered: