Skip to content

Add max length to other payment types #1193

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 19, 2025
Merged

Add max length to other payment types #1193

merged 1 commit into from
Aug 19, 2025

Conversation

himaniraghav3
Copy link
Collaborator

Related JIRA Ticket:

https://topcoder.atlassian.net/browse/PM-1616

What's in this PR?

@@ -70,6 +71,7 @@ const InputText: FC<InputTextProps> = (props: InputTextProps) => {
onBlur={props.inputControl ? props.inputControl.onBlur : props.onBlur}
onChange={props.inputControl ? props.inputControl.onChange : props.onChange}
name={props.inputControl ? props.inputControl.name : props.name}
maxLength={props.maxLength}

Choose a reason for hiding this comment

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

Ensure that props.maxLength is properly validated and defaults are set if necessary. Consider checking if maxLength is defined before applying it to avoid potential issues with undefined values.

@himaniraghav3 himaniraghav3 merged commit c8503fc into dev Aug 19, 2025
3 checks passed
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