getValue() print other dependency block when without change.
See original GitHub issueGeneral information
getValue() print other dependency block when without change.
- json-editor version:
Expected behavior
see developer console screen
result1: {"fieldOne":"bar","depender2":"dolor"}
result2: {"fieldOne":"foo","depender1":"lorem"}
result3: {"fieldOne":"bar","depender2":"dolor"}
Actual behavior
result1: {"fieldOne":"bar","depender1":"lorem","depender2":"dolor"}
result2: {"fieldOne":"foo","depender1":"lorem"}
result3: {"fieldOne":"bar","depender2":"dolor"}
Steps to reproduce the behavior
Direct link to example: https://is.gd/4GsOx2
// README - Dependencies
{
"title": "An object",
"type": "object",
"properties": {
"fieldOne": {
"title": "I should be changed to 'foo'",
"type": "string",
"enum": ["foo","bar"],
"default": "bar"
},
"depender1": {
"title": "I depend on fieldOne to be 'foo'",
"type": "string",
"enum": ["lorem","ipsum"],
"options": {
"dependencies": {
"fieldOne": "foo"
}
}
},
"depender2": {
"title": "I depend on fieldOne to be 'bar'",
"type": "string",
"enum": ["dolor", "sit"],
"options": {
"dependencies": {
"fieldOne": "bar"
}
}
}
}
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
contextlib — Utilities for with-statement contexts ... - Python Docs
This function is a decorator that can be used to define a factory function for with statement context managers, without needing to create...
Read more >DataSnapshot | Firebase - Google
getValue() returns the data contained in this snapshot as native types. ... If the child location has no data, an empty DataSnapshot is...
Read more >Parse a URI String into Name-Value Collection - java
If you are looking for a way to achieve it without using an external library, the following ... final String value = idx...
Read more >4. Methods Use Instance Variables: How Objects Behave
Call the go() method, passing the variable x as the argument. The bits in x are copied, and the copy lands in z....
Read more >Your Guide to the Python print() Function
In this step-by-step tutorial, you'll learn about the print() function in Python and discover some of its lesser-known features.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can take a look at this one
@schmunk42 Gotcha, thanks for the clarification!