View Single Post
  #2  
Old 05-03-2017, 05:05 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: 5.3 version of XLite\View\FormField\Textarea\Simple

I believe you can use older classes via "XLite\View\FormModel\Type\OldType" type.
Here is an example from the source code:
PHP Code:
// ...
                
'images'             => [
                    
'label'        => static::t('Images'),
                    
'type'         => 'XLite\View\FormModel\Type\OldType',
                    
'oldType'      => 'XLite\View\FormField\FileUploader\Image',
                    
'fieldOptions' => ['value' => $images'multiple' => true],
                    
'position'     => 300,
                ],
// ... 

So, you may try something like this with 'oldType' => 'XLite\View\FormField\Textarea\Simple'.
I think this should work.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote