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

fix(Angular): fixed applying custom tabIndex and ariaLabel #710

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

Conversation

skrappyzz
Copy link

It seems that setting tabIndex and ariaLabel doesn't work as expected in Angular. tabIndex and ariaLabel always have their default values. To resolve this, the assignment of ariaLabel and tabIndex should be moved inside the ngOnInit method, as the constructor is called before the component is fully initialized.
At that point, this.options is still an empty object, rather than the options passed from the outside via the @Input parameter.

@skrappyzz
Copy link
Author

@Grsmto hey, could you, please, review it?

@Grsmto
Copy link
Owner

Grsmto commented Dec 2, 2024

@skrappyzz sure it's in my TODO - I'll take a look asap!

I know it's a very small PR but I want to make sure to do a release at the same time, so it takes me a bit of time 🙏

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.

2 participants