renato-bohler/redux-form-input-masks

value returned from field should contain mask (or offer a setting to enable this)

SirCameron opened this issue · 1 comments

What are you reporting?

  • Bug
  • Feature request
  • Code refactor
  • Continuous Integration (CI) improvement
  • Changes in documentation (docs)
  • Other (describe)

What is the current behavior?

When using a mask, say "99-9999", the value being returned does not contiain the extra characters in the mask, thus defeating the purpose imo.

What is the expected behavior?

When using mask "99-999" the value returned should contain the mask also, eg: 12-2134.

Sandbox Link

not necessary

What's your environment?

firefox 69.0.1 (64-bit)
mac os 0.14.6 (18G95)
react 16.8.0
node 12.8.1
redux-form-input-mask 2.0.1

Whoops, my apologies.... I didn't see the stripMask option.