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

feat: add recordPicker stubs #322

Conversation

thomasFoulon
Copy link
Contributor

Introducing lightning-record-picker stub for testing.

@api variant;
@api checkValidity() {}
@api reportValidity() {}
@api setCustomValidity() {}

Choose a reason for hiding this comment

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

fix: add

  • focus method
  • blur method

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point, those methods were not on the stub in the lightning-components repo 🤦

Copy link
Contributor Author

@thomasFoulon thomasFoulon Jul 5, 2023

Choose a reason for hiding this comment

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

Update: focus and blur methods are not added to the stub when re-generating stubs on the lightning-components repo. It seems they are not necessary (they're not on other components stubs either).

Choose a reason for hiding this comment

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

@ravijayaramappa ravijayaramappa merged commit 893045c into salesforce:master Jul 5, 2023
@thomasFoulon thomasFoulon deleted the search-lookups/record-picker/add-recordPicker-stubs branch July 5, 2023 15:06
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.

3 participants