FAQ

Does this library generate form elements?

No, this library does not generate form elements but only the fields. If you are generating fields inside a form element, it is recommended to use the novalidate attribute on the form to prevent browser validation conflicts.

It's also a good practice to use the showValidationErrors method when clicking the submit button to display any validation errors.

Example:
<form novalidate>
  <!-- Your Jedison fields here -->
  <button type="submit" onclick="showValidationErrors()">Submit</button>
</form>

Editor not rendering?

Ensure that:

  • container is a valid DOM element
  • theme is provided

$ref not working?

Use RefParser and call await refParser.dereference(schema) before creating the Jedison instance.

Plugin editor not showing?

Check that the external library is loaded. For example, verify that window.Quill or window.flatpickr exists before initialization.

Validation not working?

For format validation, set assertFormat: true in your Jedison options.

Infinite recursion with recursive schemas?

Use x-deactivateNonRequired: true in your schema combined with enablePropertiesToggle: true in your Jedison options.