formio

angular-formio set language in FormBuilder

早过忘川 提交于 2021-01-01 17:57:42
问题 I don't find a solution for changing the language of the FormBuilder. For the renderer it is described by documentation, but it works not in Builder. At the Builder it must be set by options, but the FormioOptions not include the language option. Is there any description or example for usage? HTML Code <div class="content" role="main"> <form-builder [form]="form" (change)="onChange($event)" [options]="formOptions"></form-builder> <button (click)="onClick()">Formular speichern (Ausgabe auf

angular-formio set language in FormBuilder

孤者浪人 提交于 2021-01-01 17:57:00
问题 I don't find a solution for changing the language of the FormBuilder. For the renderer it is described by documentation, but it works not in Builder. At the Builder it must be set by options, but the FormioOptions not include the language option. Is there any description or example for usage? HTML Code <div class="content" role="main"> <form-builder [form]="form" (change)="onChange($event)" [options]="formOptions"></form-builder> <button (click)="onClick()">Formular speichern (Ausgabe auf

Add custom properties on formio builder

和自甴很熟 提交于 2020-04-18 05:46:21
问题 I want to create something like this I want to create a card which contains tags such as pharagraph, iframe, also inputs. I have successfully added custom component to my form builder but i need to pass a property for my new component. like, i have a component for iframe, but i need to pass a url to that component, anyone know how? Here's my codefor one of the component <div style="width: 100%;margin-top: 20px;"> <nb-card> <nb-card-body class="myIframe"> <iframe src="https://www.youtube.com

how to give dummy values to formio form

本秂侑毒 提交于 2020-04-05 06:54:18
问题 I have created a username and password with submit button page using formio and I have shown in the page by taking that script from the database. the page is visible now. But I want to show a dummy username and password when I click on a button. But I have achieved like whenever the page loads the data will fill by adding below. <formio [form]="obj"[submission]='{ "data": { "userName": "Joe", "password": "Smith" } }'> But I want to fill the data when I have clicked on a button. Actually my

File Upload: File Upload URL not provided

旧街凉风 提交于 2020-01-17 04:38:28
问题 I've been trying to get file uploads to work, following the instructions for both Dropbox and S3 but each time I just get this message: File Upload URL not provided It doesn't seem to be making any calls to the server. I've found this mention of a bug around file uploads: https://github.com/formio/ngFormio/issues/322 But I suspect that applies if you're hosting it yourself. I'm using the cloud version. I've configured it with e.g. the S3 bucket's URL, authentication etc. What does this error

how to reset the form and enable submit button after form submision (react-formio)?

浪子不回头ぞ 提交于 2020-01-11 11:59:05
问题 I am using the react-formio package to generate a form dynamically. I have generated a simple login-form using this link: https://codesandbox.io/s/cra-react-formio-iy8lz After building, it creates a JSON. Then, I generate a form using that JSON, but when I submit by form after fulfill all validation of form it always is shown in disable mode why? How can we enable button again ?? when my promise is resolved and how to reset the form after submitting it? here is my code, codesandbox link

how to make select box in react single selected and mulitple selected?

我怕爱的太早我们不能终老 提交于 2019-12-25 01:17:40
问题 I am using this package to generate dynamic form https://www.npmjs.com/package/react-formio?activeTab=readme As mentioned in the documentation to create select box https://formio.github.io/formio.js/app/examples/select.html I follow the steps but it is not working.It is not giving expected view output as mention in documentation. here is my code https://codesandbox.io/s/brave-smoke-07qyi src={{ display: "form", components: [ { type: "select", label: "Single Select", key: "single", placeholder

how to listen button click event in react?

房东的猫 提交于 2019-12-13 03:15:29
问题 I am using the package below to generate a form dynamically in react: https://www.npmjs.com/package/react-formio I found one example where on button click, an event is listening https://jsfiddle.net/Formio/obhgrrd8/?utm_source=website&utm_medium=embed&utm_campaign=obhgrrd8 I want to do same thing in react using the above package here is my code https://codesandbox.io/s/lucid-austin-vjdrj I have three buttons I want to listen button click event ReactDOM.render( <Form src="https:/