private function readForm()
    {
        foreach ($this->fields as $field) {
            $field->setForm($this);

            if ($field->hasError()) {
                $field->addClass('is-invalid');
            }


            if ($old = $this->request->old($field->getName())) {
                $field->value($old);
            }
        }
    }