浏览代码

new info form

andre 5 月之前
父节点
当前提交
ed21154aa8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/UI/Client/Setting/Forms/InfoForm.php

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

@@ -39,7 +39,7 @@ class InfoForm extends BaseForm implements ClientArea
     private function initFields()
     {
         $maildomain = new InputGroup('');
-        $maildomain->addInputComponent((new InputGroupElements\Text('DNS Informationen für: '))->addHtmlAttribute('readonly','true')->addHtmlAttribute('value','maildomain'));
+        $maildomain->addInputComponent((new InputGroupElements\Text('DNS Informationen für: '))->addHtmlAttribute('readonly','true')->setValue('maildomain'));
         $maildomain->addInputAddon('', false, '→');
         $maildomain->addInputComponent((new InputGroupElements\Text('maildomain'))->addHtmlAttribute('readonly','true'));
         $this->addSection($maildomain);