🌐 AI搜索 & 代理 主页
Skip to content

Warnings on Missing Target in Tooltip Component #5598

@Remigius2011

Description

@Remigius2011

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

  1. 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
  2. Please add a way to suppress these warnings in production builds - by observing the environment variable NODE_ENV and/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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions