Skip to content

Conversation

@narsaynorath
Copy link
Member

Since we don't pass required as a prop to the input element*, an empty
string was considered valid for required fields and incorrectly set.


*See:

Do not forward required to input to avoid default browser behavior

in app/views/settings/components/forms/controls/input.tsx

Since we don't pass required as a prop to the input element, an empty
string was considered valid for required fields and incorrectly set.
@narsaynorath narsaynorath requested a review from a team November 1, 2021 13:48
Copy link
Member

@shruthilayaj shruthilayaj left a comment

Choose a reason for hiding this comment

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

Looks good! Can we just write a quick test in tests/js/spec/views/eventsV2/table/columnEditModal.spec.js for this?

Copy link
Member

@shruthilayaj shruthilayaj left a comment

Choose a reason for hiding this comment

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

LGTM

@narsaynorath narsaynorath merged commit 6bd9ef9 into master Nov 1, 2021
@narsaynorath narsaynorath deleted the fix/clearing-parameter-in-column-editor-modal branch November 1, 2021 17:02
@github-actions github-actions bot locked and limited conversation to collaborators Nov 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants