-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
Description
Is your feature request related to a problem? Please describe...
When a tooltip does not find its target element, the following warning is issued:
[BootstrapVue warn]: tooltip - Unable to find target element in document.
Firstly, it is hardly possible to find the target element in question because the target element id, which is available at the code location there the warning is issued, is not added to the message. Secondly, these warnings are issued even in production builds, which is imo superfluous, as this does not cause any harm.
Describe the solution you'd like
- Please add the target element ID to the warning message to make it easier to find the missing target element, respectively the tooltip in question
- Please add a way to suppress these warnings in production builds - by observing the environment variable
NODE_ENVand/or by providing a configuration parameter
Describe alternatives you've considered
- no alternatives available -
Additional context
https://cli.vuejs.org/guide/mode-and-env.html#using-env-variables-in-client-side-code