diff --git a/src/components/Common/CommonComponent/index.js b/src/components/Common/CommonComponent/index.js index 9d1136c..d0fc944 100644 --- a/src/components/Common/CommonComponent/index.js +++ b/src/components/Common/CommonComponent/index.js @@ -1428,7 +1428,24 @@ export default class CommonComponent extends Component { /> ); } - if ( + if ((this.props.showConfig.sDropDownType === "sql" || this.props.showConfig.sDropDownType === "const") + && this.props.showConfig.sName?.includes('sParam') && this.props.showConfig.showDropDown?.includes('\\n') + ) { + const row = commonUtils.isNotEmptyNumber(this.props.showConfig.iRowValue) ? this.props.showConfig.iRowValue : 1; + const minHeight = row * 20 + 6 + 4 + 2; + + const correctText = commonUtils.isNotEmptyObject(this.state?.dataValue) ? this.state.dataValue : + commonUtils.isNotEmptyObject(this.props.showConfig?.showDropDown) ? this.props.showConfig?.showDropDown?.replace(/\\n/g, "\n") : '111'; + + return ( +