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(elements|ino-list-item): moved logic from ino-control-item to ino-list-item #1154

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iandi09
Copy link
Collaborator

@iandi09 iandi09 commented Jan 2, 2024

Closes #369

  • moved logic from ino-control-item to ino-list-item and marked ino-control-item as deprecated
  • fixed issue which occured when using ino-list (MDCList) together with ino-control-item (error in console due to the role attribute)

- moved logic from ino-control-item to ino-list-item
- fixed issue which occured when using ino-list (MDCList) together with ino-control-item (error in console due to the role attribute)
}
const skip = ['INO-CHECKBOX', 'INO-RADIO'].includes(e.target['tagName']);
if (skip) return;
const ctrl = checkbox || radio;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why we need this logic? For which use cases?

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.

ino-control-item: Use slots instead of components
2 participants