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!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...