DevExtreme Vue - 3rd-Party Frameworks Issues
This section describes issues related to 3rd-party frameworks and steps you can follow to diagnose and resolve these issues. If the solutions listed here do not help, create a ticket in our Support Center.
Modals
If you place DevExtreme components in a Bootstrap modal, the following issues may occur:
- Users cannot insert, update, or delete a DataGrid row.
- Users cannot enter values in the FilterBuilder.
- Editors in the DropDownBox lose focus.
- TextArea loses focus.
- DataGrid ColumnChooser loses focus.
On page load, Bootstrap locates all modals and places their child elements into special collections. A modal only allows items from its child element collection to receive focus. At the same time, DevExtreme components can generate elements on the fly. Such dynamically-generated elements do not get attached to the focusable collection.
To allow any element to obtain input focus, specify a specially-designed option as shown in the code below.
Set the no-enforce-focus
property to true
.
- <template>
- <b-modal :no-enforce-focus="true">
- <!-- DevExtreme components -->
- </b-modal>
- </template>
- <script>
- // ...
- </script>
If you have technical questions, please create a support ticket in the DevExpress Support Center.