I recently implemented an input mask on a 10-digit phone number field within my Formly form using AngularJS. The input is masked with dashes (xxx-xxx-xxxx) and displays correctly on the page. However, the issue arises when attempting to ignore these mask characters within the Formly model value for the field. Ideally, I want the model value to be:
phoneNumber: '4838884747'
instead of
phoneNumber: '483-888-4747'
So far, my attempts at configuring a formatter have not been successful. Any assistance or guidance would be greatly appreciated.