Open Neutrino-Sunset opened 5 months ago
https://learn.microsoft.com/en-us/aspnet/core/mvc/views/razor?view=aspnetcore-8.0#conditional-attribute-rendering
Conditional attribute rendering does not work for data atrtibutes, but there is no mention of this.
https://learn.microsoft.com/en-us/aspnet/core/mvc/views/razor?view=aspnetcore-8.0
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/mvc/views/razor.md
a0b3b70a-3b39-1b5f-a4ce-c41bd2d6b044
@tdykstra
@Neutrino-Sunset can you post a GitHub repo with the simplest possible app that demonstrates the problem and explain what you expect?
Description
https://learn.microsoft.com/en-us/aspnet/core/mvc/views/razor?view=aspnetcore-8.0#conditional-attribute-rendering
Conditional attribute rendering does not work for data atrtibutes, but there is no mention of this.
Page URL
https://learn.microsoft.com/en-us/aspnet/core/mvc/views/razor?view=aspnetcore-8.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/mvc/views/razor.md
Document ID
a0b3b70a-3b39-1b5f-a4ce-c41bd2d6b044
Article author
@tdykstra