Ben Kass
Ben Kass
@KerrySng99 thanks for sharing your code, but this is not "as you type" solution. You only parse when the length is 5. Also, it doesn't account for pasting a whole...
@theodelebarre I haven't tested it thoroughly and on different devices, but it seems to work. thanks for sharing
It working nicely, however, once I set the default value to a formatted value, it gets all messed up when you start editing the number. What I mean is this:...
Merci Théo. That definitely helped. It now mostly works. So far, what doesn't work, while testing on the simulator, is deleting a digit in the middle of the phone number...
Hey @artf, had a chance to check this out yet? ;)
This is true for all components that have settings by the way. Changing the styles removes chosen settings.
@artf I dug some more into this. The reason things get messed up is because you merge attributes with styles in the mjml project. You added a listener for style...
This has to do with strict code and those browsers. I started rewriting some of the functions, but to get this completely redone is crazy amount of work. It's not...
The issue is that the style attributes are hardcoded into to view with ``` view: { ...coreMjmlView, tagName: 'table', attributes: { style: 'pointer-events: all; float: none; display: inline-table;', }, ```...
Still happening. ``` export default async function findStarPrinters( setStarPrinters: (starPrinters: StarPrinter[]) => void ) { let printers: StarPrinter[] = []; const interfaceTypes = [ InterfaceType.Lan, InterfaceType.Bluetooth, InterfaceType.BluetoothLE, InterfaceType.Usb, ]; let...