-
Notifications
You must be signed in to change notification settings - Fork 142
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
Feature/detect unsupported sf fields #2495
Conversation
🦋 Changeset detectedLatest commit: 08b25ac The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Size Change: +380 B (0%) Total Size: 1.1 MB
ℹ️ View Unchanged
|
|
Summary
Detects when an element that is supposed to contain a securedField has an unsupported value for its
data-cse
attribute.This is most commonly a scenario for the CustomCard component.
Now when this situation arises we will not even try to make a secureField for this element, and we will create a
console.warn
stating thedata-cse
attribute has an incorrect valueTested scenarios
Manually tested
Added new unit test