wingspan/wingspan-forms

FormField mutates fieldinfos

Closed this issue · 1 comments

This defaults call mutates

        var fieldInfo = _.defaults(this.props.fieldInfo, {
            readOnly: false,
            disabled: false,
            label: '',
            helpText: ''
        });

Fix is to just add an initial {} for _.defaults to write into. You guys fix this, I'm too diverged