Skip to content

Commit

Permalink
Selected needs to have a bool value for templating to work
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisfleming committed Aug 13, 2021
1 parent 594e44c commit 0589cb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions grafanalib/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,7 @@ def __attrs_post_init__(self):
break
else:
self._current = {
'selected': False if self.default is None or not self.default else True,
'text': self.default,
'value': self.default,
'tags': [],
Expand Down

0 comments on commit 0589cb5

Please sign in to comment.