core/Form.php
public function getField(string $name, bool $isView = false)
    {
        $field = isset($this->fields[$name]) ? $this->fields[$name] : null;
        if ($field && $isView) {
            $this->createDynamic($field);
        }
        return $field;
    }
public function getField(string $name, bool $isView = false)
    {
        $field = isset($this->fields[$name]) ? $this->fields[$name] : null;
        if ($field && $isView) {
            $this->createDynamic($field);
        }
        return $field;
    }
获取字段
@param string $name
@return Field|null