Skip to content

razor components should allow custom attributes #8620

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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kennywangjin opened this issue Mar 18, 2019 · 3 comments
Closed

razor components should allow custom attributes #8620

kennywangjin opened this issue Mar 18, 2019 · 3 comments
Labels
area-blazor Includes: Blazor, Razor Components ✔️ Resolution: Duplicate Resolved as a duplicate of another issue

Comments

@kennywangjin
Copy link

kennywangjin commented Mar 18, 2019

currently, when assigning html attributes that are not explicitly defined on razor components, system will throw exception. e.g. we can not assign an id to EditForm. custom attributes should be passed down to component's root element and preserved to apply customization.

@muratg muratg added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Mar 18, 2019
@mkArtakMSFT mkArtakMSFT added the area-blazor Includes: Blazor, Razor Components label Mar 18, 2019
@mkArtakMSFT
Copy link
Contributor

Thanks for contacting us, @kennywangjin.
@danroth27 don't we have a separate issue with a similar ask? I tried to find it, but with no luck.

@danroth27
Copy link
Member

I think this is it: #5071

@danroth27 danroth27 added the ✔️ Resolution: Duplicate Resolved as a duplicate of another issue label Mar 19, 2019
@danroth27
Copy link
Member

Closing as a dup.

@mkArtakMSFT mkArtakMSFT removed area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates labels May 9, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Dec 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components ✔️ Resolution: Duplicate Resolved as a duplicate of another issue
Projects
None yet
Development

No branches or pull requests

4 participants