Skip to content

Commit

Permalink
Remove validation for non-bool toggle fields
Browse files Browse the repository at this point in the history
The validation causes any selection to be stored as `true` instead of
the actual value in the YAML file.
  • Loading branch information
klonfish committed Jan 8, 2020
1 parent b08f7c9 commit a6ceb45
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions blueprints.yaml
Expand Up @@ -32,8 +32,6 @@ form:
native: PLUGIN_STATIC_GENERATOR.ADMIN.STORAGE.OPTIONS.NATIVE
persist: PLUGIN_STATIC_GENERATOR.ADMIN.STORAGE.OPTIONS.PERSIST
transient: PLUGIN_STATIC_GENERATOR.ADMIN.STORAGE.OPTIONS.TRANSIENT
validate:
type: bool
content:
type: toggle
label: PLUGIN_STATIC_GENERATOR.ADMIN.STORAGE.CONTENT
Expand All @@ -44,8 +42,6 @@ form:
native: PLUGIN_STATIC_GENERATOR.ADMIN.STORAGE.OPTIONS.NATIVE
persist: PLUGIN_STATIC_GENERATOR.ADMIN.STORAGE.OPTIONS.PERSIST
transient: PLUGIN_STATIC_GENERATOR.ADMIN.STORAGE.OPTIONS.TRANSIENT
validate:
type: bool
addendum:
type: spacer
text: PLUGIN_STATIC_GENERATOR.ADMIN.DESCRIPTION.STORAGE.ADDENDUM
Expand Down

0 comments on commit a6ceb45

Please sign in to comment.