jessepollak / jessepollak/card

Multiple Credit Card Fields

Open
#425 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
SCSS
Stars
11.7k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

When I make a credit card field with 4 fields, 6 characters are entered for each field.

` numberInput: 'input[name="cc_number"], input[name="cc_number1"], input[name="cc_number2"],input[name="cc_number3"]'`
I need like this
4444-4444-4444-4444
16 character
Example https://ibb.co/s983Dkk

Contributor guide

Open the contributing guide

Research direction

Start by locating the handling of the `numberInput` selector and reproduce the four-field credit card input described in the issue. Verify how many characters each field accepts and how the value is formatted. Done means four fields accept four characters each and support the requested `4444-4444-4444-4444` format.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jquery
Domain
frontend, payments
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.