public function spanElement($name, $display, $value)
    {
        $options = ['onClick' => '$(this).remove();', 'class' => 'multiselector'];

        return $this->toHtmlString(
            '<span'.$this->attributes($options).'>'.
            '<input type="hidden" name="'.$name.'[]" value="'.$value.'">'
            .e($display).
            '</span>');
    }