-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Invalid type received for "enabled". Expected: bool. Received [boolean] "false" #2500
Comments
The problem stems from the misuse of the ES6 Object Literal Property Value feature. in
and subsequent use
is interpreted as
not
The fix is to replace the shorthand for the bool property
with
and all other such uses in |
What if the key is in quotation mark?Will that solve the problem? |
Yes, if the key (being a reserved word such as boolean) is in quotation marks I believe that will solve the problem. In other words, like you did it in 534ad9f. If you still think changing |
I think we can do without changing |
If this is an issue then replacing my changes with No change to [ I made the changes in #2501 because #2452 was having problems in browsers. Did #2452 work cleanly in any context? The value of @easleydp - since you have access to both environments, can you quote the property and verify the fix on both sides? |
* element characteristic changes * assume edge color inheritance is correct before choosing * Adjust nodes’ chosen’s boolean -> bool * Need to get user-reset size * make example edges thicker for more noticeable shadow * preemptive ES6 fix (see #2500/#2501) * documentation for the feature that was previously overwritten
Create a network with
options = { physics: { enabled: false } }
and look at the console output.This seems to be related to #2452.
The text was updated successfully, but these errors were encountered: