daily pastebin goal
44%
SHARE
TWEET

Untitled

a guest Jun 14th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.  
  3. import FormBuilder from "wavesys_form_builder";
  4. const FormGeneratorProps = {
  5.       download_path: "",
  6.       back_action: "/",
  7.       back_name: "Back",
  8.       answer_data: {},
  9.       action_name: "Save",
  10.       form_action: "/",
  11.       form_method: "POST",
  12.       variables: {},
  13.     }
  14. <FormBuilder.ReactFormGenerator
  15.                         {...FormGeneratorProps}
  16.                         data={this.state.data}//here i give the data
  17.                         read_only={this.state.modal[1] === 'ro'}//aqui metes a true
  18.                         hide_actions={this.state.modal[1] === 'ro'}
  19.                         display_short={this.state.modal[1] === 'short'}
  20.                       />
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top