37 questions
0
votes
0
answers
41
views
getting spacings and alignments in jsonforms correctly
Currently, I'm trying to use jsonforms to create different forms for my website, and I'm using custom buttons and input fields (using custom renderers) to render the form, currently I'm interested in ...
1
vote
3
answers
96
views
How to import Vuetify icons correctly?
Not all icons from vuetify are rendering in my jsonForms component
I'm creating Vue component, that render jsonForms with vuetifyRenderers from '@jsonforms/vue-vuetify' and this part is ok. But ...
0
votes
0
answers
18
views
React - syncedstore + JsonForms
I'm using json forms to generate forms from a json description. I'm trying to have cooperative filling (multiple users can work on one form at a time, and see changes in real time).
const store = ...
0
votes
1
answer
81
views
Render vue jsonforms without bundling
I want to create a vue single page app that uses jsonforms. I want to avoid using a bundler.
My code is as follows
<!DOCTYPE html>
<html lang="en">
<head>
<meta ...
4
votes
1
answer
189
views
How to only show validation errors if a field is touched or modified?
I'm using a form with JSON Form and I'm having trouble performing validations. The problem is that the input fields turn red even before the user types anything. I want the error that the field is ...
0
votes
1
answer
518
views
How can I customise the error messages in JSON Forms
I am using React and JSON Forms to build a form with an input that has a minimum length restriction and an email format. I am unable to generate a custom error message.
The docs say to use ajv-errors,...
0
votes
1
answer
43
views
rjsf Form is scrolling back to top and un-focusing input field on button press inside custom widget
I need a custom widget because depending on the value of a different property linkType I want to render a different input type ( select, textarea )
I try to store the state from the form locally so ...
-1
votes
1
answer
51
views
Get invalid json format from Neo4j using libCurl
The CypherQuery I used is {“statements” : [{ “statement” : “MATCH (n:ns0__Meas) RETURN n LIMIT 25” }]}.
I've been reading the return String via CURLOPT_WRITEDATA, but the format of the returned json ...
1
vote
1
answer
406
views
json-forms custom renderer tester for multiple fields
I've created a custom renderer with its tester:
import { rankWith, scopeEndsWith } from '@jsonforms/core'
export default rankWith(
3, //increase rank as needed
scopeEndsWith('uiSchema')
)
and it ...
-1
votes
1
answer
462
views
JSONForms: Display multiple fields as one string
I am creating a custom renderer to display a JSON form as an overview of the data saved in other json forms.
Most fields have to be displayed just with a single title and value from the database.
Some ...
0
votes
1
answer
110
views
JSON forms deletes ".0" in number field
I'm using JSON Forms in my project.
Problem For "number"-typed field I want to type in values like 1.05, but when I type "1." the field shows an error, and then, when I type "...
0
votes
1
answer
713
views
Prevent Emotion style injection
I am using the JsonForms React Component to dynamically generate an HTML form in my web-application. The framework I use does all of the view rendering on the server side, so to include this component ...
0
votes
1
answer
309
views
JsonForms update other renderer based on api call
We are using JsonForms with React and MUI. There is a specific renderer (CEP renderer equivalent to ZIP code) which, onBlur, performs an API call and it should update the values of other fields from ...
0
votes
1
answer
68
views
Jquery function dynamic option
Please check below code, this works
$('form').jsonForm({
'schema': { 'message': { 'type': 'string', 'title': 'Message' }, 'author': { 'type': 'object', 'title': 'Author', 'properties': { 'name': ...
2
votes
1
answer
704
views
How to display custom error message in JSON Forms for Typescript?
This is my TSX code:
import React, { FC, ReactElement } from "react";
//jsonforms import
import { useState } from "react";
import {
materialRenderers,
materialCells,
} from "@jsonforms/...
0
votes
2
answers
200
views
Unexpected token in JsonForms custom-renderer props declaration
I am following an example from here to create a custom renderer for JsonForms using Vue: https://jsonforms.io/api/vue/vue/index.html
However, when I include this sample in my .vue file within the ...
2
votes
1
answer
1k
views
JSONForms Vue Basic String Custom Renderer
So I'm starting out with Vue JSONForms and I'm trying to create a bare-bones custom text renderer. I know there JSONForms has the vue-vanilla package, but I want to understand what are the basics ...
2
votes
1
answer
2k
views
Json form schema use in react native
Is there any way I can use json form schema with custom renderer (using json schema to render react native UI elements) in react native.
I have seen couple of react native specific package which are ...
1
vote
1
answer
639
views
How to properly validate JSON Forms in React on submit
I am currently working on a project, which involves using JSON Forms
I have a problem regarding validation. The reason is that there are multiple values in inputs and some of them should not exceed or ...
-2
votes
2
answers
163
views
django_jsonforms are not displayed in the browser
I want to run a ready python project in virtual environment. When I run the project I face no error. And when I write this in the terminal "py manage.py runserver" , I can see just a label ...
0
votes
1
answer
82
views
How to formatting a Json content type?
I need to extract only the content of the operations of the following json:
{"entries":[{"description":"Text transform on 101 cells in column Column 2: value.toLowercase()&...
1
vote
0
answers
486
views
Trying to get all keys from a JSON schema using react JS
I'm trying to get all of the keys from this JSON schema using react.js. The end goal is to create a system that will automatically create a dynamic form based on this schema that will change during ...
1
vote
1
answer
149
views
Jolt convert JSON file with data enrichment and deletion
I need help, I'm new to Jolt.
There is a json file:
{
"Date": "2021-01-01",
"Status": "New",
"Agreements": [
{
"ID_agreement"...
3
votes
0
answers
1k
views
JSON Schema forms and AJV: validation warnings instead of errors
I have a specific use case in which we use several JSON schemas to create forms using @jsonforms/core in combination with @jsonforms/angular (jsonforms.io). The validation happens as recommended with ...
2
votes
1
answer
670
views
Use of JsonForms tester ranks
I’m using JsonForms for my form creation in React. I’m working on creating a test r and was wondering why it needs a rank?
import { rankWith, scopeEndsWith } from '@jsonforms/core';
export default ...
0
votes
1
answer
81
views
Getting an unhandled Rejection (TypeError) while fetching (POST)
I'm following a modified JSON Forms tutorial but runs into problems when adding my own code in order to post the form data to a REST endpoint.
The form is loading fine and I'm able to fill it in with ...
0
votes
1
answer
187
views
Is there any way to know what properties/variables are available in html template in angular?
Is there any way to know what properties/variables are available in html template in angular?
I tried {{ this | json }} appears error.
I use json forms (https://jsonforms.io/) and I have this ...
2
votes
1
answer
642
views
Dependency on the existence of a nested value
I can get dependencies to work with non-nested values (top-level in the schema), but I would like for a dependency to be dependent on a property which is nested within an object definition.
const ...
0
votes
0
answers
389
views
oneOf nested in array
I am currently testing JSON Forms on my schema (as is, without a UI definition), and I am running into the following problem: I can generate lists of options with oneOf (as shown in this_works below), ...
1
vote
1
answer
304
views
jsonforms with Bootstrap: VerticalLayout missing
I'm trying to use jsonform in my ASP.NET Core application. It is working quite well. I can't understand why I have this error
Uncaught Error: The JSONForm contains an element whose type is unknown: &...
4
votes
2
answers
4k
views
How can i override default error messages text in JSON forms
TLDR: I need to customize the default error messages provided by JSON form. Eg if field is required then JSON form give error like is a required property, I want it to return error message text like ...
0
votes
0
answers
397
views
Unable to access module before initialization when using @jsonforms/angular-material
I'm trying to use https://www.npmjs.com/package/@jsonforms/angular-material by running a sample application from https://github.com/eclipsesource/jsonforms-angular-seed.git
The sample application ...
0
votes
1
answer
349
views
Dynamic JsonForm with ImageField in Django
I am creating a dynamic form (using JSON format) in Django, the form needs to save multiple images using Django Storage and save the reference to the file in the JSON field.
This is what I have right ...
3
votes
0
answers
956
views
how to use rules in Json forms with object from array as condition?
i am using json-forms with react and i want to introduce condition where category is hidden and it will show depending on object inside an array.
here is pseudo schema
var schema = {
"...
2
votes
1
answer
2k
views
React JSON Schema Dependencies
I am trying to write up a JSONSchema to be used with react-jsonschema-form, but am having trouble getting the dependencies working and in the correct order.
"properties":{
"condition": {
...
0
votes
1
answer
142
views
How to convert JsonForm to Json?
I would like to extract only the data present in a Json to JsonForm using Java.
Which framework can I use to this operation?
1
vote
1
answer
2k
views
Issue reading Json format with Gson Java
I need to turn a full string into Json format, the challenge is that within the payload there is a nested field which requires be read as Json likewise.
My java code look like:
First I read the ...