adopted-ember-addons / adopted-ember-addons/ember-inputmask
optional part of mask discarded when unmaskedValue contains it
Ouverte
enhancement
- Langage dominant
- JavaScript
- Étoiles
- 67
- Forks
- 43
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Hi,
For some reason having a variable which contains optional part of a mask it's discarded when loaded, for example:
Having this
`
{example: {number: '982748238992874822998724892932'}}
`
and
`
{{input-mask mask='(999) 999-9999[, (999) 999-9999][, (999) 999-9999][, (999) 999-9999]' unmaskedValue=example.number class='form-control'}}
`
it shows just the non optional part of the mask like if the mask were
`
mask='(999) 999-9999'
`
also noticed by using greedyMask=true it shows the missing parts plus the non fulfilled optional mask
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.