I have a similar problem and am not sure where to do the “replace”. All of my phone numbers are listed in the database like: 1234567890. I would like for the output to be: 123-456-7890
What is the best way to accomplish this in Wappler?
I’m displaying this data in a table, here is part of the code:
<tbody is="dmx-repeat" dmx-generator="bs4table" dmx-bind:repeat="get_all_people_details.data.query1" id="tableRepeat2"> <tr> <td dmx-text="{{people_lname}}, {{people_fname}}"></td> <td dmx-text="people_phone"></td> <td dmx-text="people_email"></td> </tr> </tbody>