Comments (10)
You do not change a schema with this, it's just in the data.
@germanbisurgi Do we have a propertyAdded
event?
from json-editor.
I guess propertyAdded
event could be very helpful in this case, but i'm not sure it exists.
from json-editor.
Schema remains the same. There is a change
event that triggers when the editor data changes.
from json-editor.
I would like to take this opportunity to clarify if there is similar event for changing property type? I guess something like propertyTypeChanged
.
from json-editor.
There is a
change
event that triggers when the editor data changes
But no specific events for adding fields and changing their types?
from json-editor.
There are no events for properties added or removed. You could alternatively register watchers for single editors, in your case the object editor.
from json-editor.
It's very uncomfortable to register watcher on every editor. What if there are more than a hundred of them? And also in this way I have no variants to keep track of which field has just been added. Events propertyTypeChanged
and propertyAdded
are really needed.
from json-editor.
PRs welcome ;)
from json-editor.
Related Issues (20)
- Infotext does not appear in Arrays when format = table
- Autocomplete suggestion list partially hidden in array format table HOT 2
- How to Add Info With Icons HOT 4
- Cannot use more than one class in "class" option for links HOT 2
- Fields with Dependencies Returning Undefined in JSON Editor v2.12.0 to v2.14.1 HOT 2
- How to link enum sources located in different root files?
- Visual Form Builder HOT 1
- Is it possible to allow date strings to have a value of empty string ("") ? HOT 4
- [question]How to implement mapping between object and checkbox.
- Hidden fields with dependencies disappear after setValue() HOT 1
- [question]How can i hide false ouput value on checkbox. HOT 2
- Can I Do Dependencies Only On the Default Value And Enum? HOT 1
- [bug]select2 setValue report a error and not select it HOT 8
- Starrating format isn't working properly HOT 1
- bug/regression: bool or number value does not show when remove_empty_properties=true and use_default_values=false
- Can Do a "WACTH" To Another Root "JSON Editor". HOT 4
- Auto generate schema for simple cases HOT 5
- Support for chained / nested watch HOT 2
- Add meta-data (schema builder) example HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from json-editor.