-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Labels
DoneThis issue has been fixedThis issue has been fixedaffected-mediumThis issue impacts approximately half of our customersThis issue impacts approximately half of our customersarea-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onefeature-mvc-razor-viewsFeatures related to the Razor view engine for Razor pages and MVC viewsFeatures related to the Razor view engine for Razor pages and MVC viewsfeature-razor-pagesseverity-majorThis label is used by an internal toolThis label is used by an internal tool
Milestone
Description
Say we have a ViewComponent class
class MyViewComponent
{
IViewComponentResult Invoke( bool showSomething = false ) { ... }
}
It would be great to just only write <vc:my />
in Razor if one don't want to show that something. Currently you have to write <vc:my show-something="false" />
.
ernestopye, dabide, takerukoushirou, Luis-Palacios, glacasa and 29 moreskurekjakub and tompazourek
Metadata
Metadata
Assignees
Labels
DoneThis issue has been fixedThis issue has been fixedaffected-mediumThis issue impacts approximately half of our customersThis issue impacts approximately half of our customersarea-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onefeature-mvc-razor-viewsFeatures related to the Razor view engine for Razor pages and MVC viewsFeatures related to the Razor view engine for Razor pages and MVC viewsfeature-razor-pagesseverity-majorThis label is used by an internal toolThis label is used by an internal tool