Skip to content
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

Add migration message to MaskedInput component #3267

Merged
merged 1 commit into from
Sep 29, 2024

Conversation

ethanshar
Copy link
Collaborator

@ethanshar ethanshar commented Sep 23, 2024

Description

Add migration message to MaskedInput component
It's actually an old migration but I noticed now I didn't add any warning for the open source users

Changelog

Add migration message to MaskedInput component

Additional info


function MaskedInputMigrator(props: any, refToForward: any) {
const {migrate, ...others} = props;

useEffect(() => {
if (!migrate) {
LogService.warn(`UILib MaskedInput implementation has been updated and now requires manual migration. To proceed, pass the "migrate" prop and check if the functionality works as expected.`);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we have a migration guide to point users to?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Nope, there's an API parity also there's not much usage of this component

@Inbal-Tish Inbal-Tish assigned ethanshar and unassigned Inbal-Tish Sep 26, 2024
@Inbal-Tish
Copy link
Collaborator

@approved. Left a small question

@ethanshar ethanshar merged commit be9ac0b into master Sep 29, 2024
1 check passed
@ethanshar ethanshar deleted the infra/MaskedInput_migration_warning branch September 29, 2024 07:23
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.

2 participants