Open CristianVladescu opened 5 years ago
Thanks for contacting us, @CristianVladescu. We should definitely raise an error in this case.
Thanks for contacting us.
We're moving this issue to the Next sprint planning
milestone for future evaluation / consideration. We will evaluate the request when we are planning the work for the next milestone. To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
Describe the bug
Tag helpers and Razor expressions don't work well together on the same line. Take for instance this line of code:
<button @(group.Builtin ? "disabled" : "") asp-page-handler="ShowGroupModal" type="submit">Edit</button>
In this case the asp-page-handler TagHelper has no effect. If I swap the order, everything works, but Visual Studio does not recognize the expression syntax.