* zin: fix datepicker not work.
This commit is contained in:
@@ -13,11 +13,14 @@ class datePicker extends wg
|
||||
*/
|
||||
protected function build(): wg
|
||||
{
|
||||
list($name, $id, $defaultValue) = $this->prop(array('name', 'id', 'defaultValue'));
|
||||
return zui::datePicker
|
||||
(
|
||||
set::_class('form-group-wrapper'),
|
||||
set::_map(array('value' => 'defaultValue')),
|
||||
set::icon('calendar'),
|
||||
set($this->props)
|
||||
set($this->props),
|
||||
h::formHidden($name, $defaultValue, setID($id))
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user