jqh 3 лет назад
Родитель
Сommit
0fbc6d7900
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      tests/Browser/Components/Form/Field/HasMany.php

+ 2 - 2
tests/Browser/Components/Form/Field/HasMany.php

@@ -48,8 +48,8 @@ class HasMany extends Component
     {
         return [
             '@container' => '.has-many-'.$this->relation,
-            '@add' => '.add',
-            '@remove' => '.remove',
+            '@add' => ".{$this->relation}-add",
+            '@remove' => ".{$this->relation}-remove",
             '@forms' => ".has-many-{$this->relation}-forms",
             '@group' => ".has-many-{$this->relation}-forms .has-many-{$this->relation}-form",
         ];