TextBox Pattern Property

Hey there!
I was trying to get the date displayed nice in datepicker and textbox with following results:
image

For both of them LabelText property is set to empty because I don’t want to have label there. The problem is that in datepicker it has no padding and in textbox I see time also. I need only date. I found something that may help but It seems I don’t know how to use it. That is Pattern property in textbox.

Do you have any ideas what is this for? I can set only numerical value in it.
Or maybe you know any other good way to display date nicely?

No. I can’t trim the value. I just need to display it in the correct way.

I believe that field is for a RegEx value. If you know/search for date format in RegEx and enter it there, it might work. But @hmwillett states in her Control Compendium that it does not work. Not sure of the last version she tested it in, but maybe it will work. :man_shrugging:

I wrote: “I can set only numerical value in it.”
Regular expressions can contain more than just numbers so either it is a bug or the description does not fit the functionality.

Then it sounds like it is still not a functioning field as Hannah stated.

1 Like