Skip to content

Commit

Permalink
Fix Boolean default values to "false" as reported in issue HaithemMos…
Browse files Browse the repository at this point in the history
…bahi#15

Component attributes are "true" if set and "false" if not.
Therefore, default values of "true" can never be set to "false" through
attributes.
Explained more in detail here:
Polymer/polymer#1812 (comment)
  • Loading branch information
matgnt committed Aug 18, 2017
1 parent 72ac8f2 commit e713c57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scheduler-component.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
},
allDaySlot: {
type: Boolean,
value: true
value: false
},
allDayText: {
type: String,
Expand All @@ -109,7 +109,7 @@
},
slotEventOverlap: {
type: Boolean,
value: true
value: false
},
nowIndicator: Boolean,
dragRevertDuration: {
Expand All @@ -122,7 +122,7 @@
},
dragScroll: {
type: Boolean,
value: true
value: false
},
eventOverlap: Object,
eventConstraint: Object,
Expand Down

0 comments on commit e713c57

Please sign in to comment.