cloudspout / cloudspout-button-panel

Grafana panel to integrate with any kind of HTTP/REST API
MIT License
50 stars 35 forks source link

Button panel resetting text upon clicking edit #67

Open RedBrumbler opened 2 years ago

RedBrumbler commented 2 years ago

When I click to edit a button panel, the set text will revert to the default text. I am fairly sure this has to do with the fact that my button text is completely whitespace since I just want a left / right arrow for the button icon

steps to reproduce:

this was using plugin version 7.0.23 on grafana v8.1.5

RedBrumbler commented 2 years ago

Putting a zero width space instead of just whitespace did make it not reset, but I feel like there should be an option to have a button with just an icon. If it exists then I must have missed it but from what I can tell you're pretty much always forced to have text on the button