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

🐞 - Textfield open input doesn't work as expected #9752

Open
hakimio opened this issue Nov 13, 2024 · 1 comment
Open

🐞 - Textfield open input doesn't work as expected #9752

hakimio opened this issue Nov 13, 2024 · 1 comment
Assignees
Labels
contributions welcome Architecture is clear and community can help P3 This issue has low priority S3 This issue has low severity

Comments

@hakimio
Copy link
Contributor

hakimio commented Nov 13, 2024

Reproduction url

https://stackblitz.com/edit/angular-3dfsuh?file=src%2Fapp%2Fapp.template.html

Description

Textfield dropdown opens even when textfield's open input is set to false.
[Might also be an issue with TuiDropdownOpen directive.]
Check the stackblitz link for reproduction.

Issue is also present in the Taiga demo app:

Maybe as a workaround tuiDropdownEnabled could be exposed from the Textfield component?

Taiga UI version

4.15.0

Browser Used

Chrome

OS Used

Windows

@waterplea
Copy link
Collaborator

Yes, that would be not a workaround but a proper fix — open is a two way binding and can be internally updated, tuiDropdownEnabled is there to control built-in opening mechanic like clicks on buttons or arrows on inputs. We need to expose it with TuiWithDropdownOpen and add to the docs. We do not need to add aliasing to the name in this case because it is not used in the directive selector.

@waterplea waterplea added contributions welcome Architecture is clear and community can help P3 This issue has low priority S3 This issue has low severity labels Dec 8, 2024
@hakimio hakimio self-assigned this Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributions welcome Architecture is clear and community can help P3 This issue has low priority S3 This issue has low severity
Development

No branches or pull requests

2 participants