-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Add support for new dialog form method in FormMethod enum #44499
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
Comments
If it helps, I created a PR for that change. |
@Ducki thanks for contacting us. I think we will accept a contribution for this, although it seems that the public API baseline needs to be updated in the PR. If you open the solution in Visual Studio, there should be an analyzer that helps you fix the issue. |
For triage, support for It will be better if we can have confirmation that this is part of the actual standard and not just the living standard before we merge, as things tend to change there. |
Thanks for contacting us. We're moving this issue to the |
I have tried for literally hours to get this single line in the Public API file. Since I'm on a Mac, I tried running VS in a VM, which is practically with the ASP.NET project because it just chokes with errors and crashes (after trying to index and analyze for an hour (!)). Codespaces similar. I'm really sorry. I really want to contribute, but it is borderline impossible to do so outside Windows/Visual Studio. |
@Ducki I am really sorry you run into issues with this. I'll try to get someone on the team to fix it and get it merged. From what I understand this can be fixed running dotnet format in the project, but seems like we do not have this correctly documented. We have a separate issue tracking this here |
Never mind, I got it in now :) |
@Ducki @javiercn I don't mean to come in here, I was looking at good first issues this one seemed like an appropriate one but it seems it has been taken care of. Is the addition to Public API text file a way to track changes that have not been released into production directly to the users? I see those files in almost every single individual project. |
@WingZer0123 we track public API changes across versions using a set of Roslyn analyzers. You can see the details here That way we know explicitly when we are removing APIs and can have a discussion about it. |
@Ducki thanks for the contribution! |
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
Currently, the FormMethod enum only contains the GET and POST form methods.
However, the new
<dialog>
element also introduced a new form methoddialog
(its use case is to close the dialog).Currently, IDEs are showing a squiggle when using the
tag helper with this form method, probably because they rely on the content of this enum for that attribute.Describe the solution you'd like
Add
Dialog
to FormMethod.Additional context
No response
The text was updated successfully, but these errors were encountered: