Browse Source

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

jqh 4 years ago
parent
commit
bca4f36619
1 changed files with 1 additions and 1 deletions
  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;
     }