Skip to content

Use optional chaining for getter access#5729

Open
pranavjoshi001 wants to merge 1 commit intomicrosoft:mainfrom
pranavjoshi001:directline-null-check-capabilities
Open

Use optional chaining for getter access#5729
pranavjoshi001 wants to merge 1 commit intomicrosoft:mainfrom
pranavjoshi001:directline-null-check-capabilities

Conversation

@pranavjoshi001
Copy link
Contributor

@pranavjoshi001 pranavjoshi001 commented Feb 19, 2026

  • This is to avoid screen blank when directLine prop is null though it is mandatory.
  • I have added tests and executed them locally
  • I have updated CHANGELOG.md
  • I have updated documentation

Review Checklist

This section is for contributors to review your work.

  • Accessibility reviewed (tab order, content readability, alt text, color contrast)
  • Browser and platform compatibilities reviewed
  • CSS styles reviewed (minimal rules, no z-index)
  • Documents reviewed (docs, samples, live demo)
  • Internationalization reviewed (strings, unit formatting)
  • package.json and package-lock.json reviewed
  • Security reviewed (no data URIs, check for nonce leak)
  • Tests reviewed (coverage, legitimacy)

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

Comments