We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 255bbaa commit b285e11Copy full SHA for b285e11
src/FormGenerator.js
@@ -11,8 +11,11 @@ import configureControl from './configureControl'
11
const FIELD_CONFIG_STRING = '$field_'
12
13
export default class FormGenerator extends React.Component {
14
- // Intiate the form property
15
- form = null
+ constructor(props) {
+ super(props)
16
+ // Intiate the form property
17
+ this.form = null
18
+ }
19
shouldComponentUpdate(nextProps) {
20
// Only Re-renders for changes in field config
21
if (nextProps.fieldConfig !== this.props.fieldConfig) {
0 commit comments