one question and one bug(?)

Support MB Tooltip one question and one bug(?)

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #39947
    Ole PoetterOle Poetter
    Participant

    Hi,

    1.) the tooltip is not rendering on frontend/backend for field type "heading".
    2.) Adding Tooltip for inputs, is this possible with the builder, too?

    Kind regards,
    Ole

    #39962
    PeterPeter
    Moderator

    Hello Ole,

    1. The field heading does not have an input value, it works like an HTML separator so no need to use a tooltip.

    2. It is possible to add a tooltip for a field in the builder, please check this screenshot https://monosnap.com/file/u9KNaWh5tXYWjE3wUjhrv17T8L4ooH

    #39970
    Ole PoetterOle Poetter
    Participant

    Hi,

    1.) Maybe it can be added. In the builder the settings for tooltip on heading field are already there, but there is no output.

    2.) Sorry I missed some words. Defaulr tooltip is for field labels. Programaticly thwr is a option also for tooltips on the input fields. Is there a way to do this also in the MB Builder?

    #39996
    PeterPeter
    Moderator

    Hello,

    1. Adding a tooltip for the heading field mean nothing, just ignore this.

    2. No, the tooltip is added to the field name/label. Please read more on the documentation https://docs.metabox.io/extensions/meta-box-tooltip/

    #40006
    Ole PoetterOle Poetter
    Participant

    Hi,
    2.) I mean this:
    https://i.imgur.com/RxYEMTX.png

    #40012
    PeterPeter
    Moderator

    Hello,

    If you want to use the tooltip for input, please use the code to register the field, the builder does not support this feature. For example:

    [
        'name'     => __( 'Title', 'your-text-domain' ),
        'id'       => $prefix . 'title',
        'type'     => 'text',
        'required' => true,
        'tooltip_input' => [
            'icon'     => 'help',
            'content'  => 'Right position',
            'position' => 'right',
        ],
    ],
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.