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
Hi again... I have an issue ... I can't make the keyboard go directly to lowercase. My code is only with numbers and lowercase characters.
I tried autocapitalize=off but it's not working
@Not-Wadu What is your platform and version? I am not sure that it is the issue of the lib. By the way, numbers have only one case and they can not be in the lower or upper case
I am using angular 11.2 and ionic 5.36 (i tested these on android version 11)
Now when I try to type a code it goes only in uppercase every time I introduce a new letter
Thanks for the update! I'm trying to use the new setting, but I'm not noticing any difference. I've installed 1.6.0, restarted, removed node_modules just in case, but I can't get anything to autocapitalize. This is how I'm trying to use it.
That didn't help, but I think I was misunderstanding what that attribute is supposed to do. It apparently doesn't affect characters entered on a physical keyboard, it's for virtual inputs like on mobile devices. I thought it would autocapitalize on anything.
What do you think of adding your own function as an option to capitalize things as they are inputted? That way regardless of browser or device, it would work.
Activity
AlexMiniApps commentedon Oct 18, 2021
@Not-Wadu What is your platform and version? I am not sure that it is the issue of the lib. By the way, numbers have only one case and they can not be in the lower or upper case
Not-Wadu commentedon Oct 18, 2021
I am using angular 11.2 and ionic 5.36 (i tested these on android version 11)
Now when I try to type a code it goes only in uppercase every time I introduce a new letter
My code :
<code-input [isCodeHidden]="false" [codeLength]="6" [code]="invite_code" [isCharsCode]="true"
[inputType]="'text'" (codeChanged)="onCodeChanged($event)" (codeCompleted)="onCodeCompleted($event)"
autocapitalize="off">
AlexMiniApps commentedon Oct 18, 2021
@Not-Wadu understood, I will add the setting for this
Release v 1.6.0. Fixed issues and implemented cool! features:
AlexMiniApps commentedon Nov 10, 2021
@Not-Wadu please install the new version v1.6.0
The new setting has been added:
autocapitalize
https://github.com/AlexMiniApps/angular-code-input#component-options
andyrue commentedon Nov 17, 2021
Thanks for the update! I'm trying to use the new setting, but I'm not noticing any difference. I've installed 1.6.0, restarted, removed node_modules just in case, but I can't get anything to autocapitalize. This is how I'm trying to use it.
Maybe I'm not understanding how it's supposed to work.
AlexMiniApps commentedon Nov 17, 2021
@andyrue try to use like the following:
andyrue commentedon Nov 17, 2021
That didn't help, but I think I was misunderstanding what that attribute is supposed to do. It apparently doesn't affect characters entered on a physical keyboard, it's for virtual inputs like on mobile devices. I thought it would autocapitalize on anything.
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autocapitalize
What do you think of adding your own function as an option to capitalize things as they are inputted? That way regardless of browser or device, it would work.
AlexMiniApps commentedon Nov 18, 2021
@andyrue ok. Please open a new issue for this. I will think how to reach the goal.