Post

Replies

Boosts

Views

Activity

Replace decimal point with comma in an input
My APP is for the Spanish market and I can't get it to convert into a decimal point when entering a comma, I have this code, any ideas, thanks <ion-input autofocus="true" placeholder="0.00" onkeypress="this.value = this.value.replace(/^0+/, '').replaceAll(',', '.').replace(/[^\d.]/g,'').replace(new RegExp('(^[\d]{7})[\d]', 'g'),'$1').replace(/(..)./g, '$1').replace(new RegExp('(\.[\d]{2}).','g'),'$1')" onkeyup ="this.value = this.value.replace(/^0+/, '').replaceAll(',', '.').replace(/[^\d.]/g,'').replace(new RegExp('(^[\d]{7})[\d]', 'g'),'$1').replace(/(..)./g, '$1').replace(new RegExp('(\.[\d]{2}).','g'),'$1')" type="text" inputmode="decimal" lang="en" style="text-align: center; align-items: center; font-size:45px;" [(ngModel)]="credentials_transfe.monto">
0
0
454
Feb ’24
icloud keychain
How to make an APP offer to save access credentials in the iCloud keychain
Replies
0
Boosts
0
Views
490
Activity
Feb ’24
Replace decimal point with comma in an input
My APP is for the Spanish market and I can't get it to convert into a decimal point when entering a comma, I have this code, any ideas, thanks <ion-input autofocus="true" placeholder="0.00" onkeypress="this.value = this.value.replace(/^0+/, '').replaceAll(',', '.').replace(/[^\d.]/g,'').replace(new RegExp('(^[\d]{7})[\d]', 'g'),'$1').replace(/(..)./g, '$1').replace(new RegExp('(\.[\d]{2}).','g'),'$1')" onkeyup ="this.value = this.value.replace(/^0+/, '').replaceAll(',', '.').replace(/[^\d.]/g,'').replace(new RegExp('(^[\d]{7})[\d]', 'g'),'$1').replace(/(..)./g, '$1').replace(new RegExp('(\.[\d]{2}).','g'),'$1')" type="text" inputmode="decimal" lang="en" style="text-align: center; align-items: center; font-size:45px;" [(ngModel)]="credentials_transfe.monto">
Replies
0
Boosts
0
Views
454
Activity
Feb ’24
Create new app error
Impossible to create a new app, any suggestions, thanks
Replies
2
Boosts
0
Views
585
Activity
Jan ’24