Jelajahi Sumber

new info form

andre 6 bulan lalu
induk
melakukan
bc6af26713
1 mengubah file dengan 6 tambahan dan 1 penghapusan
  1. 6 1
      app/UI/Client/Setting/Forms/InfoForm.php

+ 6 - 1
app/UI/Client/Setting/Forms/InfoForm.php

@@ -63,7 +63,12 @@ class InfoForm extends BaseForm implements ClientArea
         $row->addInputAddon('', false, '→');
         $row->addInputComponent((new InputGroupElements\Text('dkim'))->addHtmlAttribute('readonly','true'));
         $this->addSection($row);
-        $this->generateDoubleSection([new Text('maildomain'), new Select('id')]);
+        $hide1 = new Text('maildomain');
+        $hide1->addHtmlAttribute('display','none');
+        $hide2 = new Text('id');
+        $hide2->addHtmlAttribute('display','none');
+
+        $this->generateDoubleSection([$hide1, $hide2]);
 
     }
 }