diff --git a/src/Contao/Widget/FormTextFieldMultiple.php b/src/Contao/Widget/FormTextFieldMultiple.php index ff0c097..1794cf0 100644 --- a/src/Contao/Widget/FormTextFieldMultiple.php +++ b/src/Contao/Widget/FormTextFieldMultiple.php @@ -23,7 +23,7 @@ namespace ContaoCommunityAlliance\FormTextFieldMultipleBundle\Contao\Widget; -use Contao\FormTextField; +use Contao\FormText; /** * This class is used for the contao frontend view as template. @@ -31,14 +31,14 @@ * @psalm-suppress PropertyNotSetInConstructor * @psalm-suppress UndefinedThisPropertyFetch */ -class FormTextFieldMultiple extends FormTextField +class FormTextFieldMultiple extends FormText { /** * Template * * @var string */ - protected $strTemplate = 'form_textfield_multiple'; + protected $strTemplate = 'form_text_multiple'; /** * Parse the template file and return it as string @@ -50,7 +50,7 @@ class FormTextFieldMultiple extends FormTextField public function parse($arrAttributes = null): string { if (!$this->multiple) { - $this->strTemplate = 'form_textfield'; + $this->strTemplate = 'form_text'; } return parent::parse($arrAttributes); diff --git a/src/Resources/contao/templates/form_textfield_multiple.html5 b/src/Resources/contao/templates/form_text_multiple.html5 similarity index 100% rename from src/Resources/contao/templates/form_textfield_multiple.html5 rename to src/Resources/contao/templates/form_text_multiple.html5