Skip to content

Add validationRegexp field back to catalog.json schema#1757

Open
fangmobile wants to merge 2 commits into
a2ui-project:mainfrom
fangmobile:spec1_0-textfield-validationRegexp
Open

Add validationRegexp field back to catalog.json schema#1757
fangmobile wants to merge 2 commits into
a2ui-project:mainfrom
fangmobile:spec1_0-textfield-validationRegexp

Conversation

@fangmobile

@fangmobile fangmobile commented Jun 25, 2026

Copy link
Copy Markdown

Description

Add validationRegexp back to 1.0 catalog.json schema in TextField
not sure whether it is intended. I was using this in 0.9 but now it is gone. Text field validation is important in many input fields.

Pre-launch Checklist

One time:

For this PR:

  • I have added updates to the CHANGELOG.
  • I updated/added relevant documentation.
  • My code changes (if any) have tests.
  • If my branch is on fork, I have verified that scripts/e2e_test.sh passes.

If you need help, consider asking for advice on the discussion board.

not sure whether it is intended. I was using this in 0.9 but now it is gone. Text field validation is important in many input fields.

Signed-off-by: fangmobile <fangjian@gmail.com>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new validationRegexp property of type string to the catalog specification, which can be used for client-side validation of inputs. No review comments were provided, so there is no additional feedback to address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant