JSON editing made easy using form inputs.
BSD-3-CLAUSE License
Bot releases are hidden (Show)
Published by bhch over 1 year ago
required
properties validation in nested objects.Published by bhch over 1 year ago
Published by bhch over 1 year ago
oneOf
/allOf
/anyOf
at the top levelPublished by bhch over 1 year ago
required
properties for an object.Published by bhch over 1 year ago
oneOf
, anyOf
and allOf
.Published by bhch almost 2 years ago
errorMap
must be joined using the section sign (ยง
) . This is due to fixing #55.Published by bhch almost 2 years ago
fileinput
widgetfile-url
inputs using the widget
keyword. If you don't want to display a modal, you can use widget: 'fileinput'
to display a simple input field.Published by bhch about 2 years ago
fileHandlerArgs
fileHandlerArgs
has been added. It can be used to provide a key-value pair which will be sent to the fileHandler
URL via the querystring. This is helpful in identifying the form instance on the server if you have one common file handler for all forms.FormInstance
data was not updated when the data was initially synced by the form.Published by bhch about 2 years ago
This is a minor release, nevertheless brings some exciting new features and some bugfixes.
required
, uniqueItems
, minLength
, maxLength
, minimum
, maximum
, exclusiveMinimum
, exclusiveMaximum
, multipleOf
.DELETE
request to file handler endpoint. In addition to that, DELETE
requests will automatically be sent to the server when Clear button is clicked or when exiting page without form submission.label
keyword to title
label
keyword has been renamed to title
. However, the label
keyword will still continue to work.format
keyword, but as a range input also returns a number value (no need for a specialised format). Hence, it didn't make sense to use range as a format. So, now range inputs can be created using the widget
keyword.Published by bhch about 2 years ago
Minor release. Previous release (v2.0.1) still didn't fix the following bugs.
Published by bhch about 2 years ago
Minor release.
Published by bhch about 2 years ago
This is a major release with lots of new features, plenty of bugfixes, significant internal rewrite and, therefore, some breaking changes.
EditorState
handler
has been added for file uploads. Use this to provide the URL endpoint where files will be uploaded to.file-url
field).0
, it was being overwritten by null
.null
by default. Earlier, the default for boolean was false
.date-time
(from the standard spec) as an alias for datetime
.minItems
when creating or syncing arrays.src/form.js
)If you directly use the Form component (such as in Node projects), the following notes are for you.
Form
component to ReactJSONForm
.fileListEndpoint
and fileUploadEndpoint
props. Now use fileHandler
prop instead.state
(instance of EditorState
) and onChange
(a callback function for handling the changes).null
by default. Earlier, the default for boolean was false
.src/renderer.js
)If you use the component in the browser (and not in Node projects), the following notes are for you
JsonForm
function which was used for creating the form component in browsers. Instead use the new createForm
function.uid
config option.fileListEndpoint
and fileUploadEndpoint
config options. Use the new fileHandler
option which serves the purpose of both.Published by bhch over 2 years ago
placeholder
keyword.enum
keyword has been added as an alias to choices
keyword.Published by bhch over 2 years ago
array.items
was a $ref
, it wasn't rendering properly.Published by bhch over 2 years ago
$ref
and $def
keywords for referencing other parts of schema.additionalProperties
keyword now accepts a schemaadditionalProperties
keyword was only a boolean and the new properties could only be of string type. Now you can provide a schema for the new properties through this keyword.minItems
set to 0 or undefined, then it will be kept empty initially. If the array has a default, it will use the default value instead of being blank. Earlier, an item was automatically added to the arrays which was not expected behaviour.Published by bhch over 2 years ago
Published by bhch over 2 years ago
help_text
or helpText
keywords.Published by bhch over 2 years ago
Published by bhch over 2 years ago
Published by bhch over 2 years ago