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

🚀 - Expose native input from Taiga UI controls #1196

Closed
waterplea opened this issue Jan 14, 2022 · 0 comments · Fixed by #1316
Closed

🚀 - Expose native input from Taiga UI controls #1196

waterplea opened this issue Jan 14, 2022 · 0 comments · Fixed by #1316
Assignees
Labels
P1 This issue has high priority

Comments

@waterplea
Copy link
Collaborator

Which @taiga-ui/* package(s) are relevant/releated to the feature request?

core

Description

Right now native input tag is hidden inside Taiga UI components. This makes it hard to put some native attributes on it like id or keyboard type and listen to native events if needed. We need to refactor our components to work this way:

<tui-input>
  <input tuiTextfield />
</tui-input>

For the time being we must support both approaches and mention new one as preferred, deprecating the old way. In 3.0 we will fully migrate to exposed inputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 This issue has high priority
Development

Successfully merging a pull request may close this issue.

1 participant