In Magento 2's devdocs pages there is an example of
time range picker.
But ,i can not find any examples of how to add it in my backend form for creating/editing of custom model.
Have anyone any idea of how to do this?
Also ,i have a question on how to save it in mysql database. Do this picker needs 2 fields ("from" and "to") to store entered time?
Best Answer
Try this,
Under
app\code\Namespace\Module\Block\Adminhtml\Custom\Edit\Form.php
Create the field in database to save the to and from values.
In controller file,