D
D
driverx182017-08-24 19:01:16
Laravel
driverx18, 2017-08-24 19:01:16

Laravel and widgets, how is it organized?

I need the user to be able to select a date, but of course, it’s not so that he enters a date like 2017-08-24, and he was given a calendar widget, he could poke on any date, and it automatically correctly entered the date in the form. In Yii2, everything is simple with this, I went to hithub, wrote Yii2 datepicker, downloaded via composer and connected the whole thing directly to the view. I googled in Laravel, and I didn’t quite understand something. Is it really necessary to include first jquery-ui.css in the header, then call the datepicker JS code in the footer, and somewhere later pass in the form the value of what this datepicker gave? Here's what I'm guided by . But I hope it's not the same

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2017-08-24
@Sanasol

Well, how would it be normal when you need to include libraries in order to use.
And yes, it's like a front.
Lara doesn't have widgets like in yii.
Yes, and out of the box everything is designed to use vue / react, i.e. put anything on them via npm/yarn and use it.
In yii 100% the same thing is used, only silently.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question