File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -930,10 +930,11 @@ Example Confirm Message boxes
930
930
by default. You can enable the header close button by setting ` hideHeaderClose: false ` in the
931
931
options.
932
932
- Message Boxes will throw an error (promise rejection) if they are closed/destroyed before they are
933
- hidden. Always include a ` .catch(error => { /* handler code */ } ) ` reject handler, event if using
933
+ hidden. Always include a ` .catch(errHandler ) ` reject handler, event if using
934
934
the async ` await ` style code.
935
935
- When using Vue Router (or similar), Message Boxes will close and reject if the route changes
936
- before the modal hides.
936
+ before the modal hides. If you wish for the message box to remain open when the route changes, use
937
+ ` this.$root.$bvModal ` instead of ` this.$bvModal ` .
937
938
- Message boxes cannot be generated during Server Side Rendering (SSR).
938
939
- The Message Box ` message ` currently does not support HTML strings, however, you can pass an
939
940
_ array_ of ` VNodes ` as the ` message ` for fine grained control of the markup. You can use Vue's
You can’t perform that action at this time.
0 commit comments