-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Mgbbs/hidden for checkbox render mode #13014
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
Mgbbs/hidden for checkbox render mode #13014
Conversation
@Eilon is there an area with resources to help resolve build issues? I'm seeing an npm failure trying to resolve @mirosoft/signalr package, plus a few xunit tests are failing but I can't view the log details. All of the errors are unrelated to any of the changes in this pull request. I've tried some literal searches but nothing useful has turned up. |
Hi @mgbbs I actually don't work on this project anymore, I just help with labeling issues 😄 I'm tagging @aspnet/build and @mkArtakMSFT who should be able to help more with the build issues you're seeing (as well as reviewing the PR). |
@mgbbs @BrennanConroy fixed the npm issue fairly recently. I think rebasing on master would help. |
The fix still needs to be merged to master which could be later today or tomorrow |
Thanks guys, I assume it's commit e5485e9 so I'll watch for that to hit master then rebase. |
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. | ||
|
||
namespace Microsoft.AspNetCore.Mvc.Rendering |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest this should be in the same namespace as HtmlHelperOptions
: Microsoft.AspNetCore.Mvc.ViewFeatures
but defer to @pranavkm here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems OK to me. We'll do an API review in 5.0 and we can revisit this at that point.
src/Mvc/Mvc.ViewFeatures/src/Rendering/CheckBoxHiddenInputRenderMode.cs
Outdated
Show resolved
Hide resolved
…, and html/tag helpers
…pecifically describe the behavior
9221168
to
bc585c5
Compare
Looks good to me. Over to you @pranavkm, especially on the namespace choice for the new |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your PR @mgbbs
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. | ||
|
||
namespace Microsoft.AspNetCore.Mvc.Rendering |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems OK to me. We'll do an API review in 5.0 and we can revisit this at that point.
Is it available in .NET Core 3.1? How do I set this enumerator for all my application? |
@Tabgyn looks like it'll be available in .NET 5. It will be configured like so:
|
Summary of the changes
Addresses #12833