35 questions
0
votes
0
answers
16
views
Using JSON Schema Dependencies for Dynamic Dropdowns in JSON Forms
I'm using JSON Forms to render a field mapping view where users can map/translate a chosen field and its enumeration values to values in another system. The issue is that based on the input of field, ...
0
votes
1
answer
147
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
18
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
29
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
175
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 ...
0
votes
0
answers
16
views
Use MUI breakpoints to achieve responsiveness JSONForms
I want to achieve something like this with JSONForms
company name md 5 location md 7
seo friendly url md 5 (full row and center)
generate button md 6 left align
reset button md 6 right align
I asked ...
0
votes
0
answers
27
views
JsonForms can't handle too big of a payload
Was given a task to handle displaying custom JSON data via JSONForms.io library in React TS. Created everything needed, schema and ui schema, and added the data, and here comes the issue. My Chrome ...
-1
votes
1
answer
248
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
76
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
484
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
176
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
65
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
571
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
146
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
772
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
471
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
124
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
71
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
468
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
137
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
548
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
71
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
162
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
544
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
333
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
282
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
3k
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
389
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
335
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
839
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
128
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?
0
votes
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 ...