protected function getInputProps()
    {
        $props = (array)$this->getElement()->getAttributes();
        $props['name'] = $this->get('_element')->get('name');
        $props['_form'] = $this->getForm();
        $props['_element'] = $this->getElement();

        return $props;
    }
protected function getInputProps()
    {
        $props = (array)$this->getElement()->getAttributes();
        $props['name'] = $this->get('_element')->get('name');
        $props['_form'] = $this->getForm();
        $props['_element'] = $this->getElement();

        return $props;
    }
Returns the list of properties for the tag.
Since tags prefixed with _ are not displayed it includes other data needed for rendering

@return array