Texbox mask help

Hey,

Bit confused on how to create an IP mask I know it should look something like this:

“\b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b”

How do I convert it to the model you use here or is there a neater way?

Thanks

Where is ‘here?’

https://docs.powershelluniversal.com/dashboard/components/inputs/textbox

sorry forgot to add the link

Not at the moment and honestly, the mask text box is broken right now. I’ve tried to fix it a couple of times but there is some weird state management issues which cause focus to break when typing in it.

I’ll likely be implementing a new masked text box control to work around it.

1 Like

Since it’s been a few years, has masking text been updated, I’m looking to do it to hide my bitlocker keys I’m throwing up on a dashboard table. I would like to use a ping to unmask them, if possible.