File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -239,13 +239,16 @@ public function getActiveField()
239239 $ style = "style='display:none;' " ;
240240 }
241241
242- $ activeField ->parts ['{input} ' ] = "
243- <div class='d-flex' id=' {$ this ->id }'>
244- <div class='sx-filter-mode-wrapper' {$ style }> {$ mode }</div>
245- <div class='sx-input-wrapper'> " .$ activeField ->parts ['{input} ' ]."</div>
246- <div class='sx-input-wrapper-2'> {$ input2 }</div>
247- </div>
248- " ;
242+ if (isset ($ activeField ->parts )) {
243+ $ activeField ->parts ['{input} ' ] = "
244+ <div class='d-flex' id=' {$ this ->id }'>
245+ <div class='sx-filter-mode-wrapper' {$ style }> {$ mode }</div>
246+ <div class='sx-input-wrapper'> " .$ activeField ->parts ['{input} ' ]."</div>
247+ <div class='sx-input-wrapper-2'> {$ input2 }</div>
248+ </div>
249+ " ;
250+ }
251+
249252
250253 $ jsOptions = Json::encode ([
251254 'id ' => $ this ->id ,
You can’t perform that action at this time.
0 commit comments