You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
ionic-framework/core/src/components/input/input.tsx
Line 71 in 88b7013
Setting
autocapitalize
to'off'
by default results inion-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
The text was updated successfully, but these errors were encountered: