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

Autocomplete: Enable clear icon for multiple selection #3131

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

prashanthr6383
Copy link
Collaborator

@prashanthr6383 prashanthr6383 commented Jan 20, 2025

Description

References

Fixes #3107

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

How Has This Been Tested?

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

@prashanthr6383 prashanthr6383 requested review from coliff and a team as code owners January 20, 2025 08:45
@prashanthr6383 prashanthr6383 linked an issue Jan 20, 2025 that may be closed by this pull request
2 tasks
@prashanthr6383 prashanthr6383 marked this pull request as draft January 20, 2025 08:45
Copy link

netlify bot commented Jan 20, 2025

Deploy Preview for moduswebcomponents ready!

Name Link
🔨 Latest commit 8c8fe0f
🔍 Latest deploy log https://app.netlify.com/sites/moduswebcomponents/deploys/678f48ca6d67d00008d0a520
😎 Deploy Preview https://deploy-preview-3131--moduswebcomponents.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 41 (🟢 up 8 from production)
Accessibility: 75 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

@jewel-shajan jewel-shajan left a comment

Choose a reason for hiding this comment

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

@prashanthr6383 When "disabled" is set to true, the clear icon becomes visible and is operable through tab navigation.

@prashanthr6383
Copy link
Collaborator Author

@prashanthr6383 When "disabled" is set to true, the clear icon becomes visible and is operable through tab navigation.

Fixed now. Please check

@prashanthr6383 prashanthr6383 marked this pull request as ready for review January 21, 2025 07:17
Copy link

@jewel-shajan jewel-shajan left a comment

Choose a reason for hiding this comment

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

Testing completed and ready for review.

@@ -504,6 +515,10 @@ export class ModusAutocomplete {

render(): unknown {
const classes = `autocomplete ${this.classBySize.get(this.size)}`;
const iconSize = this.size === 'large' ? '24' : '16';

Choose a reason for hiding this comment

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

The icon sizes used here are standard sizes correct ? Can we have it common across all sizes we use for the icons so that we can maintain the same across places its been used.

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.

AutoComplete: Implement clear icon
3 participants