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

bug: IonInput default autocapitalize value disrespects system keyboard settings and relevant browser defaults #29864

Open
rlindgren opened this issue Sep 11, 2024 · 0 comments
Labels

Comments

@rlindgren
Copy link

@Prop() autocapitalize = 'off';

Setting autocapitalize to 'off' by default results in ion-input and related components not respecting the system keyboard settings for autocapitalization and forces developers to explicitly set an overriding value on all ion-inputs, which itself might not respect system settings. Furthermore, this approach does not align with the default behavior of either of the primary OS browsers on which virtually all ionic apps are run.

If this property must necessarily have a default value, the reasonable solution would be to align with the default behavior of the primary OS browser defaults. https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autocapitalize
• Chrome and Safari default to on/sentences

@ionitron-bot ionitron-bot bot added the triage label Sep 11, 2024
@rlindgren rlindgren changed the title IonInput default autocapitalize value disrespects system keyboard settings and relevant browser defaults bug: IonInput default autocapitalize value disrespects system keyboard settings and relevant browser defaults Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant