Erp-text-box - When are these gonna work, or am I dumb?

Anybody know when the Max Length, or Pattern fields are going to work?
Or do they work and I’m just dumb?

Max-Length seems to limit nothing.
Pattern is supposed to accept a regular expression, but all it takes is the characters:
0-9 . and -

2 Likes

No takers I see. I was hoping someone was gonna tell me I was dumb.

Here’s your chance…

C’mon @timshuwy , I see you lurking in the line of circles…

I believe max length refers to the number of digits or letters. It must be used in conjunction with pattern else its ignored by the browser.

E.g 0-4 in max length
\d in pattern

Result

-9999 > 9999

Give it ago…

Sorry, this is outside of my expertise, so I didn’t answer. :expressionless:

1 Like

The pattern is full.

Yeah, I just pinged you in case you knew if this control was incomplete.
Thanks anyway though sir :slight_smile:

You ever figure this out @klincecum or just give up?

I assumed it was broken.

Schitts Creek Oh Snap GIF by CBC

Can confirm does not work in 2023.1.6… or maybe I am just dumb as well

Also noticed in this version, in the Pattern setting for the textbox you can only enter numbers now (how in the hell are you supposed to enter a regular expression)

I just entered a case with Epicor Support on the Max Length, and it still does not work in upcoming 2024.1.3. Dev then tested it in 2024.2 and it does work there… so only 5 or so more months to wait.

Obviously my case was moved to suggested resolution.