@capillarytech/creatives-library 8.0.56 → 8.0.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2241,7 +2241,10 @@ class FormBuilder extends React.Component { // eslint-disable-line react/prefer-
|
|
|
2241
2241
|
errorMessage={val.errorMessage ? val.errorMessage : ''}
|
|
2242
2242
|
className={`input-primary chart-name-input${ifError ? ' error' : ''}`}
|
|
2243
2243
|
// fluid={val.fluid}
|
|
2244
|
-
style={val
|
|
2244
|
+
style={val?.style ? {
|
|
2245
|
+
...val?.style,
|
|
2246
|
+
display: ((this.props?.location?.query?.module).toLowerCase() === 'dvs') ? 'block' : val?.style?.display
|
|
2247
|
+
} : {}}
|
|
2245
2248
|
placeholder={val.placeholder}
|
|
2246
2249
|
onChange={(e) => this.updateFormData(e.target.value, val)}
|
|
2247
2250
|
defaultValue={isVersionEnable ? this.state.formData[`${this.state.currentTab - 1}`][val.id] : this.state.formData[val.id]}
|
|
@@ -2581,7 +2584,10 @@ class FormBuilder extends React.Component { // eslint-disable-line react/prefer-
|
|
|
2581
2584
|
errorMessage={val.errorMessage ? val.errorMessage : ''}
|
|
2582
2585
|
className={`input-primary chart-name-input${ifError ? ' error' : ''}`}
|
|
2583
2586
|
// fluid={val.fluid}
|
|
2584
|
-
style={val
|
|
2587
|
+
style={val?.style ? {
|
|
2588
|
+
...val?.style,
|
|
2589
|
+
display: ((this.props?.location?.query?.module).toLowerCase() === 'dvs') ? 'block' : val?.style?.display
|
|
2590
|
+
} : {}}
|
|
2585
2591
|
placeholder={val.placeholder}
|
|
2586
2592
|
onChange={(e) => this.updateFormData(e.target.value, val)}
|
|
2587
2593
|
value={isVersionEnable ? this.state.formData[`${this.state.currentTab - 1}`][val.id] : this.state.formData[val.id]}
|