Dashboards & Visualizations

Why is the Form.token getting overrode by default value in Checkbox while duplicating tabs?

greggz
Communicator

So using a Checkbox of this sort

<input type="checkbox" token="showservices" searchWhenChanged="true">
      <label></label>
      <choice value="Service">Show services</choice>
      <default></default>
    </input>

It's unchecked by default. And if you check it and then duplicate the tab, it still maintains the form.token value (Checked), meaning, it does not get overrode.

<input type="checkbox" token="showservices" searchWhenChanged="true">
          <label></label>
          <choice value="Service">Show services</choice>
          <default>Service</default>
        </input>

If I do it like this (Notice I changed the default value), and then uncheck it and try to duplicate it, it will appear as checked in the new tab!! ( Meaning the default value overrode the form.token value )

Why does it behave like this? Why doesn't the form.token value gets prioritized?

0 Karma
Get Updates on the Splunk Community!

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...

Unlock Instant Security Insights from Amazon S3 with Splunk Cloud — Try Federated ...

Availability: Must be on Splunk Cloud Platform version 10.1.2507.x to view the free trial banner. If you are ...