View Single Post
  #1  
Old 04-20-2018, 02:16 AM
 
Soptareanu @Alex Soptareanu @Alex is offline
 

Advanced Member
  
Join Date: Apr 2018
Posts: 39
 

Default DatePicker input on my Form Field

Hello, I want that one of my input fields in form show a datepicker. I use this class when i define my field, but it doesn't work.

'date' => [
self::SCHEMA_CLASS => '\XLite\View\FormField\Inline\Input\Text\Date',
self::SCHEMA_LABEL => static::t('Date'),
self::SCHEMA_PLACEHOLDER => static::t('Date'),
self::SCHEMA_REQUIRED => true,
],
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	453
Size:	19.5 KB
ID:	5131  
__________________
Soptareanu Alex
Reply With Quote