Explorar o código

修复KeyValue::setValueLabel()方法无效问题

jqh %!s(int64=4) %!d(string=hai) anos
pai
achega
bca4f36619
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Form/Field/KeyValue.php

+ 1 - 1
src/Form/Field/KeyValue.php

@@ -22,7 +22,7 @@ class KeyValue extends Field
 
     public function setValueLabel(?string $label)
     {
-        $this->keyLabel = $label;
+        $this->valueLabel = $label;
 
         return $this;
     }