Skip to content
This repository was archived by the owner on Mar 24, 2023. It is now read-only.

remove checkbox default#1085

Merged
areed merged 1 commit intoreplicatedhq:masterfrom
areed:invalid-checkbox-default
Nov 19, 2019
Merged

remove checkbox default#1085
areed merged 1 commit intoreplicatedhq:masterfrom
areed:invalid-checkbox-default

Conversation

@areed
Copy link
Contributor

@areed areed commented Nov 18, 2019

Default is unused since value is always set, but default can still cause
error when not a boolean.

What I Did

Fix console error about using string "true" as default to checkbox.

How I Did it

Removed the default.

How to verify it

Check for console errors with this config:

      items:
        - name: item_with_bool_default
          title: Item with bool default
          type: bool
          default: "true"

Description for the Changelog

Removed unused default from checkbox config item.

Picture of a Ship (not required but encouraged)

@areed areed requested a review from sgalsaleh November 19, 2019 17:37
Default is unused since value is always set, but default can still cause
error when not a boolean.

update version
@areed areed force-pushed the invalid-checkbox-default branch from c4e023c to 9128610 Compare November 19, 2019 18:04
@areed areed merged commit 775a5ca into replicatedhq:master Nov 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants