Skip to content
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.

Commit

Permalink
Used new JSON Form templating option to default tab title to ds name.
Browse files Browse the repository at this point in the history
The initial value is now {{values.datasources.main[]}}, meaning the
field gets initialized to the name of the datasource. It is mostly
useless when the tab is added from the template configuration page
but that's less likely than automatically adding a datasource for
the time being.
  • Loading branch information
Francois Daoust committed Jul 2, 2012
1 parent 6ae267b commit ec389e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -141,7 +141,7 @@
{
"key": "tabs[]",
"valueInLegend": true,
"value": "Tab {{idx}}"
"value": "{{values.datasources.main[]}}"
},
{
"title": "Tab data source",
Expand Down

0 comments on commit ec389e2

Please sign in to comment.