Showing me error: "Invalid schema: setting with id="enable countdown" default must be a boolean "

{% schema %}
{
    "name": "Countdown Timer",
    "settings": [
    {
    "type": "checkbox",
    "id": "enable countdown",
    "default": "false",
    "label": "Enable Countdown Timer"
     }
  ]
}
{% endschema %}
<script>
</script>

How to solve this kind of error? What are the changes I have to made up to solve this error?

** @GemPages **

Hi @Developers_Hub ,

I think you need to use underscore instead of space, like this:

"id": "enable_countdown",

Hope this helps!

Hello @Developers_Hub ,

Cause: Because default by true or false but you add “false” so the error.

You can change the code like this to fix it.

{% schema %}
{
    "name": "Countdown Timer",
    "settings": [
    {
    "type": "checkbox",
    "id": "enable countdown",
    "default": false,
    "label": "Enable Countdown Timer"
     }
  ]
}
{% endschema %}

I hope the above is useful to you.

Kind & Best regards,
GemPages Support Team