We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The widget doesn't display data if the JSONField contains a boolean value. It throws a javascript exception:
Uncaught ReferenceError: True is not defined at change/:982:186 at change/:984:7
Loaded data in HTML:
var json = {'label': 'Metered consumption - house', 'category': 'consumption', 'convertToNegative': True};
The text was updated successfully, but these errors were encountered:
Hi,
The value "true" in JSON need be lower case "true" and not "True".
Thanks.
Sorry, something went wrong.
Hi, The value "true" in JSON need be lower case "true" and not "True". Thanks.
Yeah, I've tried to save it with true but widget convert it back to "Python" syntax True.
true
True
No branches or pull requests
Description
The widget doesn't display data if the JSONField contains a boolean value. It throws a javascript exception:
Loaded data in HTML:
The text was updated successfully, but these errors were encountered: