src/FormField/Generic.php
public function renderView()
    {
        if ($this->form) {
            $this->template->trySet('name', $this->short_name);
        }

        parent::renderView();
    }
public function renderView()
    {
        if ($this->form) {
            $this->template->trySet('name', $this->short_name);
        }

        parent::renderView();
    }
public function renderView ( ) { if ( $ this -> form ) { $ this -> template -> trySet ( 'name' , $ this -> short_name ) ; } parent :: renderView ( ) ; }
It only makes sense to have "name" property inside a field if
it was used inside a form.
It only makes sense to have name property inside a field if it was used inside a form .