assisrafael / assisrafael/angular-input-masks

Form input is masked

Open
#221 1 comment 0 reactions 0 assignees View on GitHub
needs: more info question
Dominant language
JavaScript
Stars
955
Forks
329
PR merge metrics
No merged PRs in 30d

Description

I have an form with a ui-percentage-mask, when i sent the form the value of the field is 10 % and not 0.1.
When I use the inspector is see that the form value attribute is correct eg 0.1

I use the latest version and AngularJS v1.5.8
##

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38013390-form-input-is-masked?utm_campaign=plugin&utm_content=tracker%2F1022469&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1022469&utm_medium=issues&utm_source=github).

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with ui-percentage-mask on AngularJS 1.5.8, comparing the displayed value, the input value attribute, and the submitted form value. Trace the ui-percentage-mask entry point to find where form serialization changes 0.1 into 10%; done means the submitted value remains 0.1 while the mask display still behaves as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
angularjs, javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.