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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type detection when typing out the inputs for components or directives in templates #1800
Comments
@sir-captainmorgan21 what does your |
@atscott strictTemplates is set to true. I suspected that was it too.
|
@sir-captainmorgan21 Ah, looks like I'm able to reproduce this as well. Seems to be an issue with the autocomplete feature that we'll have to investigate. |
@atscott awesome. Thanks! |
Thanks for reporting -- I'm planning to debug it this week. |
@dylhunn awesome. Thanks! |
Maybe related to #1740 ? |
馃殌 feature request
Description
Im not sure this is a bug or not, but when providing inputs to a directive or component, the inputs/outputs come up, which is great. However, the type of the input is showed as
any
, so when I select an input with a custom type as the input, I dont get presented the available options (example of a component below).See video below:
I believe this used to be working, which is why I made the shift to typescript types instead of enums, since we'd get intellisense in the templates without having to define a enum property on the component.
Feature Type
What does this bug affect
Describe the solution you'd like
I'd like to be able to see the list of options once I select an input I want to use that uses custom types like this.
Describe alternatives you've considered
Just working through it for now
Anything else relevant?
Nope
The text was updated successfully, but these errors were encountered: