Bladeren bron

test use sections

andre 3 maanden geleden
bovenliggende
commit
70736fbea6
1 gewijzigde bestanden met toevoegingen van 1 en 2 verwijderingen
  1. 1 2
      app/UI/Client/Setting/Sections/GeneralSection.php

+ 1 - 2
app/UI/Client/Setting/Sections/GeneralSection.php

@@ -27,8 +27,7 @@ class GeneralSection extends FreeFieldsSection
     public function initContent()
     {
         $row = new InputGroup('MX');
-        $raw->setDescription('description');
-        $row->addInputComponent((new InputGroupElements\Text('mxthurdata'))->addHtmlAttribute('readonly','true'));
+        $row->addInputComponent((new InputGroupElements\Text('mxthurdata'))->addHtmlAttribute('readonly','true')->setDescription('description'));
         $row->addInputAddon('', false, '⇔');
         $row->addInputComponent((new InputGroupElements\Text('mxactive'))->addHtmlAttribute('readonly','true'));
         $this->addSection($row);