# j-ObjectEditor

> j-ObjectEditor: NEW: exec {String} a path to the function(key, value) and it's executed if the value is changed

Framework: jcomponent20
Product: jComponent 20 (jcomponent@20)
Language: en
Content-SHA256: 8f1bd1247816e720a44ac09075a8c879b519a0198f26d6da8ff5385c202d2a7d
Snapshot: c0700e321579725c5cf4f5ace1ad7d2866d1b4f93c24a63c0b41b6b7998e976c
Sources: components@910ed1a86f6e72b4f031d3ad0dc7844f9fc5cb8e
Review: not-recorded

__Configuration__:

- `null {Boolean}` optional, shows `null` values (default: `true`)
- `skip {String}` optional, skips properties divided by commas
- `dateformat {String}` optional, a default date/time format (default: `yyyy-MM-dd HH:mm:ss`)
- __NEW__: `exec {String}` a path to the `function(key, value)` and it's executed if the value is changed

Use it with `<ui-component name="objecteditor">`. When the component is not loaded yet, jComponent downloads it on first use from the address in `DEF.fallback` (the Componentator CDN by default). Author: Peter Širka. Source: the Componentator components repository, MIT license.

```html example.html
<ui-component name="objecteditor" path="obj"></ui-component>

<script>
	var obj = {};
	obj.name = 'Peter';
	obj.age = 32;
	obj.newsletter = true;
	obj.terms = true;
	obj.created = new Date();
	obj.tags = ['Total.js', 'Node.js', 'Tags'];
	obj.data = null;
	obj.priority = [1, 2, 3, 4, 5];
</script>
```
