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;
    }