Questions tagged [angular-formio]

9 questions
1
vote
1 answer

How to load the data-grid component with the values obtained from an api in form.io's form-builder?

I am exploring form.io's from-builder. I want to call an API for data. This API response will be an array of objects where each object will have some property and key-value pairs. So, here I want to create a data-grid component already available in…
vijay s
  • 147
  • 1
  • 4
  • 15
1
vote
0 answers

How to refresh a form after submission and get a new form ID without refreshing entire window using Form.io

I have an Angular app. I am using Form.io and the form renderer to display this form in my app. I want to refresh the form after it has been submitted (redraw the form with the the same data in the fields but a new ID for the form). I can't assign…
Jo Momma
  • 1,126
  • 15
  • 31
0
votes
2 answers

Adding Dynamic drag and drop Form builder not working for angular 12

I am creating dynamic form builder using angular version 12. I am using Angular-Formio to create dynamic builder. I have installed the package and follow the steps given in the documentation. I have installed package with this command:- npm install…
Parth Raval
  • 4,097
  • 3
  • 23
  • 36
0
votes
0 answers

Error when Forking and Removing Options from Edit Component in @formio/react and formiojs

I am attempting to fork and modify the Edit component from the @formio/react and formiojs packages. My goal is to remove certain options from the component. However, when I try to install the package directly from the GitHub repository, I encounter…
0
votes
0 answers

FormIO - Reorder the pages in formIO by dragging and rearranging

I want to swap page 3 and page 4. Is it possible to reorder the FormIO pages by dragging and reordering them? FormIO Page I checked the possibilities of adding CDK-drag-drop to the existing FormIO Pages. But it didn't work.
0
votes
0 answers

Formio - How to add Javascript from the Builder? (runs 2 times or more)

I am using the **Formio **Plugin. What is the correct way to add "Javascript" to the Builder? I tried this and other ways: I created a "Text Field" component. image1 I placed a "Console.log" in "Custom Default". image2 image3 Finally, when I…
0
votes
1 answer

How to provide horizontal scroll bar for form.io data-grid component?

Using the form.io data-grid component , We can drag and drop our columns to that data-grid component. For Example a simple data-grid component with two or three columns may look like below : It is okay for less number of columns. If number of…
vijay s
  • 147
  • 1
  • 4
  • 15
0
votes
1 answer

DataGrid rows counts change based on another input field value in formIO

Consider I have an input field to enter a number of children. When the user enters 2, the data grid component containing child details should display 2 rows without clicking the "Add another" button. If the user enters 3, then 3 rows should be…
0
votes
1 answer

FormIO - Dynamic labels for Text Field based on the input data of another text field

In my form, I have 2 text fields, Based on the user input from the input field 1, the label of the 2nd field should change. Input 1 label: Name Input 2 label: User, Please enter your age Now when the user enters the name as John, Label 2 should be…