MMTMMT Docs
Diagnostics

T011

duplicate display title

T011

Two declarations in the same scope produce the same display title. Input titles must be unique within their section/tab/group (a repeated Color row across groups is fine); plot, fill, pane, window, and alert titles are unique script-wide. Keys identify inputs; titles are display only.

Failing example

script "example"
input (
  input.group(title: "Style")
  first = input.bool(true, title: "Duplicate", key: "first")
  second = input.bool(false, title: "Duplicate", key: "second")
)

Corrected example

script "fixed"
input (
  input.group(title: "Daily")
  first = input.color(#FF0000FF, title: "Color", key: "first")
  input.group(title: "Weekly")
  second = input.color(#00FF00FF, title: "Color", key: "second")
)

On this page