Browse Source

edit ressource

andre 2 năm trước cách đây
mục cha
commit
b67935a665
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/UI/Client/Ressource/Forms/EditRessourceForm.php

+ 1 - 1
app/UI/Client/Ressource/Forms/EditRessourceForm.php

@@ -51,7 +51,7 @@ class EditRessourceForm extends SortedFieldForm implements ClientArea
         $this->addField((new Hidden('id')));
         $email = new InputGroup('usernameGroup');
 
-        $email->addTextField('name', false, true)->addHtmlAttribute('readonly','true');
+        $email->addInputComponent((new InputGroupElements\Text('name'))->addHtmlAttribute('readonly','true'));
         $email->addInputAddon('emailSign', false, '@');
         $email->addInputComponent((new InputGroupElements\Text('domain'))->addHtmlAttribute('readonly','true'));
         $this->addSection($email);