Skip to content

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