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!

What’s New in Splunk Enterprise 9.4: Tools for Digital Resilience

What’s New in Splunk Enterprise 9.4: Tools for Digital ResilienceTune in to What’s New in Splunk Enterprise ...

Get Schooled with Splunk Education: Explore Our Latest Courses

At Splunk Education, we’re dedicated to providing incredible learning experiences that cater to every skill ...

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...