All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Running of tests using Docker and documentation for this.
- Fixed minor issue with
clientOptions
:onExpand
. Now there is no need to useJsExpression
for these options, extension will do it automatically.
- Updated npm-asset/jsoneditor version constraint to allow version 9.
- Cannot install package on Windows using Composer because of forbidden characters in some file names.
- Fixed minor issue with
clientOptions
:createQuery
andexecuteQuery
. Now there is no need to useJsExpression
for these options, extension will do it automatically.
- Added possibility to run tests using Docker and documentation for this.
- Updated npm-asset/jsoneditor version constraint to allow version 8.
- Fixed minor issue with
clientOptions
:onBlur
,onFocus
,onValidationError
,popupAnchor
,timestampFormat
andtimestampTag
. Now there is no need to useJsExpression
for these options, extension will do it automatically.
- Added optional property
decodedValue
, this property can be used instead ofvalue
. Whilevalue
must be JSON string,decodedValue
accepts decoded JSON, i.e. arrays, floats, booleans, etc.decodedValue
has precedence overvalue
: ifdecodedValue
is set thenvalue
will be ignored.
- #9: Allow overriding of model attribute value using explicit setting of
value
property for widget. - #8: Allow overriding of model attribute value using options['inputOptions']['value'].
- #7: Strings '0', 'null' and '""' are valid JSON and should not be automatically replaced on {} or
defaultValue
. - #6: Default value is ignored by "value" attribute of hidden input when Model is used.
- Fixed minor issue with
clientOptions
:autocomplete
,languages
,modalAnchor
,onChange
,onChangeJSON
,onChangeText
,onClassName
,onColorPicker
,onCreateMenu
,onEditable
,onError
,onEvent
,onModeChange
,onNodeName
,onSelectionChange
,onTextSelectionChange
,onValidate
,schemaRefs
andtemplates
. Now there is no need to useJsExpression
for these options, extension will do it automatically.
- Updated npm-asset/jsoneditor version constraint to allow version 7.
- Updated npm-asset/jsoneditor version constraint to allow version 6.
-
Removed inline style
height: 250px;
to simplify specification of custom height. This change may affect your design. You can specify custom height like this:div.jsoneditor { height: 250px; }
- #3: Widget doesn't work for tabular data input (multiple models in form).
- #2: Widget doesn't work if JSON contains
<script>
tag.
- Fixed minor issue with
clientOptions
:ace
,ajv
andschema
. Now there is no need to useJsExpression
for these options, extension will do it automatically.
- Documentation. Minor optimization of generated JavaScript.
- Initial release.