EditForm Dialog without style
See original GitHub issueI don’t use bootstrap in my application, because if I do it brokes many things. To manage that, I used the following to make the FormBuilder style works:
:host ::ng-deep {
@import "~bootstrap/scss/bootstrap";
@import "~formiojs/dist/formio.builder";
}
And it does work! But the EditForm dialog is appended to the body, so it doesn’t get the bootstrap styles. Is there any way I can append the edit form inside my component instead of the body?
Thanks in advance for your help!
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
EditForm Dialog without style · Issue #348 · formio/angular
But the EditForm dialog is appended to the body, so it doesn't get the bootstrap styles. Is there any way I can append...
Read more >Edit Form Dialog Not Prepopulating - angular - Stack Overflow
I am using Angular 11 and Ionic as my UI library. The issue that I'm having is that I created an upsert dialog...
Read more >How to make DialogButton trigger EditForm validation and ...
I have a problem with Dialog Form. When user opens a dialog with some form components, without filling any content, they may directly...
Read more >How to specify the Edit Form Dialog width - DevExpress Support
Use this property to define a custom DialogService, and set the desired Height and Width for the EditForm in a custom style defined...
Read more >How to modify width of standard dialog form sharepoint 2010
4 : towards right you will see option as Form Web Parts, click on it, the three forms will be listed there [New...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@felipebelluco, here’s an example JSFiddle:
https://jsfiddle.net/zqr9Ljsv/3/
@felipebelluco, the
WebformBuilder
is callingBase.createModal()
from here:https://github.com/formio/formio.js/blob/3983c3b33c625a4cdad97848354a5ec36027f95c/src/WebformBuilder.js#L320
Base.createModal()
is attaching the modal to the body here:https://github.com/formio/formio.js/blob/3983c3b33c625a4cdad97848354a5ec36027f95c/src/components/base/Base.js#L698
You may want to override
Base.createModal()
to fire an event when the modal is created - that way you can hook into the creation of that dialog and immediately move it as needed. Something like this: