Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import FormBuilder from "wavesys_form_builder";
- const FormGeneratorProps = {
- download_path: "",
- back_action: "/",
- back_name: "Back",
- answer_data: {},
- action_name: "Save",
- form_action: "/",
- form_method: "POST",
- variables: {},
- }
- <FormBuilder.ReactFormGenerator
- {...FormGeneratorProps}
- data={this.state.data}//here i give the data
- read_only={this.state.modal[1] === 'ro'}//aqui metes a true
- hide_actions={this.state.modal[1] === 'ro'}
- display_short={this.state.modal[1] === 'short'}
- />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement