Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Type one number, saved completely different
Message
 
 
À
Tous
Information générale
Forum:
Javascript
Catégorie:
Autre
Titre:
Type one number, saved completely different
Divers
Thread ID:
01629485
Message ID:
01629485
Vues:
27
Hi everybody,

I'm typing (to test) this number 9911111111. I then press Save button and get 1321176519 instead. The numbers are defined as integer in the database.

The markup (I believe wrong) is the following:
 <div class="col-md-8">
                <input type="number" 
                       name="binNo" 
                       id="binNo" 
                       ng-model="currentSites.binNo" 
                       class="form-control"
                       placeholder="@Labels.binNo" 
                       ng-maxlength="10"
                       data-sm:number-format 
                       data-sm:number />
            </div>
Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform