File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
lib/internal/Magento/Framework/Data Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,9 @@ public function getElementHtml()
5757 $ this ->addClass ('select multiselect admin__control-multiselect ' );
5858 $ html = '' ;
5959 if ($ this ->getCanBeEmpty ()) {
60- $ html .= '<input type="hidden" id=" ' . $ this ->getHtmlId () . '_hidden" name=" ' . parent ::getName () . '" value="" /> ' ;
60+ $ html .= '
61+ <input type="hidden" id=" ' . $ this ->getHtmlId () . '_hidden" name=" ' . parent ::getName () . '" value="" />
62+ ' ;
6163 }
6264 if (!empty ($ this ->_data ['disabled ' ])) {
6365 $ html .= '<input type="hidden" name=" ' . parent ::getName () . '_disabled" value="" /> ' ;
Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ public function testHiddenFieldPresentInMultiSelect()
3333 $ this ->_model ->setId ($ fieldId );
3434 $ elementHtml = $ this ->_model ->getElementHtml ();
3535 $ this ->assertContains (
36- '<input type="hidden" id=" ' . $ fieldId . '_hidden" name=" ' . $ fieldName . '" ' , $ elementHtml
36+ '<input type="hidden" id=" ' . $ fieldId . '_hidden" name=" ' . $ fieldName . '" ' ,
37+ $ elementHtml
3738 );
3839 }
3940
You can’t perform that action at this time.
0 commit comments