How to use mask in TextInput

I've tried to follow the docs by using mask() and also inserting alpine mask script, but it doesnt work. Whats the correct way to set it up?
Was this page helpful?