M
M
Maxim2016-04-14 13:46:06
Yii
Maxim, 2016-04-14 13:46:06

Add a field with a date in the form?

There is a form (ActiveForm Yii2), added text fields and checkboxes, and now we need to add an input that accepts a date.
I found that I need to use the DatePicker, but I don’t have it in yii2, and I need to install it via composer, but I don’t have composer on my hosting. How to be?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Fedorov, 2016-04-14
@KidsBout

There are two options here:
1. Either install composer on a local server, update everything and upload the modified version to the hosting
2. Or install the widget manually https://github.com/yiisoft/yii2/blob/master/docs/g.. . (item "Manual installation of extensions")

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question