yii2-date-picker-widget icon indicating copy to clipboard operation
yii2-date-picker-widget copied to clipboard

Added "link" property

Open kaliyev opened this issue 8 years ago • 1 comments
trafficstars

Added property link, to show link instead of input Добавлено свойство ссылка, для отображения ссылки вместо инпута

kaliyev avatar Nov 09 '17 09:11 kaliyev

Thanks @kaliyev But I am not sure this is the best way to do it as DatePicker is extending from InputWidget it should indeed render as an input as that is the expected result for such widget.

I think would be better to actually create a new object on this case like DatePickerLink but still, what would be the use case scenario? Simply showing a link that will popup the calendar? What is going to happen after? Do we need to add functions that will set some hidden inputs on our form? If that is the case, then why not forcing on the DatePickerLink those events to be properly configured?

Simply adding the link property is not enough. We need to elaborate further. Don't you think?

Thanks again for your time.

tonydspaniard avatar Nov 09 '17 13:11 tonydspaniard