Skip to content

[Content Security] Add a digits-only controller for the card activation field - #15105

Open
manu-gurudath wants to merge 2 commits into
mainfrom
csp-handler-digits-only
Open

manu-gurudath wants to merge 2 commits into
mainfrom
csp-handler-digits-only

Conversation

@manu-gurudath

@manu-gurudath manu-gurudath commented Sep 19, 2026

Copy link
Copy Markdown
Member

The card activation form's last-four field keeps itself to four digits through a digits-only Stimulus controller instead of an oninput.

🤖 Generated with Claude Code

https://claude.ai/code/session_01A8Q14mneHoqkzhDrgWFBFN

export-1789883723585.mp4

…on field

The last-four field kept itself to four digits from an `oninput`. That becomes
`digits-only#mask`, with the length as a value.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A8Q14mneHoqkzhDrgWFBFN
@manu-gurudath
manu-gurudath marked this pull request as ready for review September 20, 2026 05:55
@manu-gurudath
manu-gurudath requested a review from a team September 20, 2026 05:55
@manu-gurudath manu-gurudath added the Easy review These are PRs which are quick to review, often just a few lines/files changed! label Sep 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Easy review These are PRs which are quick to review, often just a few lines/files changed!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants