π - `TuiMultiSelectModule` does not export `TuiTextfieldDirective`
hakimio opened this issue Β· comments
Playground Link
No response
Description
Unlike all the rest of Taiga input modules, TuiMultiSelectModule
does not export TuiTextfieldDirective
.
So, if you are using ComboBox
, you can do the following:
<tui-combo-box
[formControl]="myControl"
>
My Label
<input
autocomplete="new-password"
tuiTextfield
/>
</tui-combo-box>
But the following will give you an error:
<tui-multi-select
[formControl]="myControl"
>
My Label
<input
autocomplete="new-password"
tuiTextfield
/>
</tui-multi-select>
Angular version
17.3.8
Taiga UI version
3.77.1
Which browsers have you used?
- Chrome
- Firefox
- Safari
- Edge
Which operating systems have you used?
- macOS
- Windows
- Linux
- iOS
- Android
Thanks for pointing it out. Would you be willing to make a PR into the v3 branch?
I am quite busy right now, but might be able to take a look at this at the end of next week. If someone wants to take this before that, feel free to go ahead.
Quickly took a look at this and it seems to me that for multi-select
to accept input[tuiTextfield]
, input-tag
template needs some major changes which include replacing simple input
with primitive-textfield
.
If someone wants to take this, feel free to do it.
Oh, right, it just doesn't support that at all, sorry. Seems like this will have to wait for 4.0 when all textfields will be reworked.