Add regular expression validation

Created on 26 April 2024, 2 months ago

Problem/Motivation

The project description claims that the webform element has regular expression validation, but this doesn't seem to be the case. This is not a big issue since the input mask forces people to stick to the right format, but for users without JS enabled a regex could still be useful.

Proposed resolution

Add a pattern attribute to the input field.

✨ Feature request
Status

Needs review

Version

2.3

Component

Code

Created by

🇧🇪Belgium DieterHolvoet Brussels

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024