Leaflet popups and tooltips do not display if static text added to dynamic data

Wappler Version : 7.9.7
Operating System : Win 11
Server Model: Node
Database Type: mysql lcoal
Hosting Type: wappler own server

Expected behavior

Compont tooltips and popups should show

...YOUR TEXT HERE ...

Actual behavior

They do not show

Bit of a weird one this.
I am using leaflet maps with a single marker.

i am using dynamic attributes

For demonstration i have the tooltip set to a single value

conn_surgery.data.query.heading

and the popup set to a concatenated value

conn_surgery.data.query.heading+conn_surgery.data.query.location

Mouseover correctly shows the tooltip and a click shows the popup.

I then go to format the popup as there is no spacing

conn_surgery.data.query.heading+' '+conn_surgery.data.query.location

The popup no longer appears when clicked, no errors shown in the console.

Removing the space restores functionality

I have tried many variations on this, in each case the popup does not appear when any static text is added to it.

Also formatting the tooltip has the same effect, it is not displayed

Update.
i set popup to:
conn_surgery.data.query.heading+conn_surgery.data.query.location+conn_surgery.data.query.date

and then tooltip to:
conn_surgery.data.query.date+' '+conn_surgery.data.query.heading

On mouseover the tooltip does not show however when the pointer is clicked to reveal the popup i see a console error message

Please validate if the following update fixes the issue

dmxLeafletMaps.zip (14.9 KB)

Thanks @patrick, that seems to have fixed it.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.