-
Notifications
You must be signed in to change notification settings - Fork 14
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
Dialog component: multiple feature requests #4288
Comments
One major thing to note here, is that the If you're interfacing with the dialog via JavaScript, there is no need for the forms element. It's just handy to have if you don't even want to write JS to make the dialog work. Usually, we don't document native APIs, but in the case of the dialog it might make sense to link to the MDN docs at least and point out that this is a native element. Concerning the nested forms, could you share some more details on your use-case, maybe some links to inspect? I'm not sure if I understand the context correctly. With that said, I'd also like to answer your questions:
Code:
|
Hey @gfellerph . In that case, sorry for alot of useless feature-requests. 😄 . Though improving the docs (your answer 2.) linking to the mdn doc of course would be appreciated. If we don't have to use the form-element within a dialog, then there is no problem. No nested forms then. ps: to answer your question: It is simply a leftover from a time, where no one was aware, that the button, without the type="button" attribute would submit the form, thus a-tags with type button were introduced at a lot of places. surely a thing to clean up (now). Our code-base is close to getting a 20 years celebration party 🥳. (not really getting a party, but it's not too easy to introduce angular to our "eco-system".) Thx again for your answers, and sorry for the mix-up. I just wasn't aware that the dialog is a mdn/html standard. I could close the ticket from my side, because everything is clear to me now, but i let you close it, in case you want to keep it open for the reminder of updating the dialog-docs with the mdn link. |
Closing as answered. |
We are currently implementing the dialog component in our multiple webservices. (replacing bootstrap modals, and get rid of bootstrap dependencies entirely, so we will be ready for the design-system v9 update) could you possibly prioritise these feature requests accordingly? (we would need it "now" 😄)
Is your feature request related to a problem? Please describe it.
Describe the solution you'd like
Describe alternatives you've considered
We would have to implement custom forms inside dialogs, that would be a huge hassle to deal with on our project scope. (nested forms not really working)
Additional context
Here would be some example code with comments, that gives more detail-infos:
`
`
The text was updated successfully, but these errors were encountered: