puranjayjain / md-date-time-picker

An implementation of Material Design Picker components in vanilla CSS, JS, and HTML
https://puranjayjain.github.io/md-date-time-picker
Other
275 stars 77 forks source link

Dynamic change past and future option #247

Open emil-zhivkov opened 6 years ago

emil-zhivkov commented 6 years ago

Hello can i dynamic change future or past option. Or is there a possibility to use this date picker like date range picker ?

puranjayjain commented 6 years ago

@emil-zhivkov Sorry, but we don't support that functionality out of the box yet.

emil-zhivkov commented 6 years ago

Can i change future or past options dinamicly ?

puranjayjain commented 6 years ago

@emil-zhivkov yes you can do that see https://puranjayjain.github.io/md-date-time-picker/#documentation/past

emil-zhivkov commented 6 years ago

@puranjayjain tell me how i have start date and end date 2 datepickrs how i limit it start date always be <= end date i need dynamicly change past and future options

puranjayjain commented 6 years ago

@emil-zhivkov sorry I didn't understand your question, can you rephrase it?

emil-zhivkov commented 6 years ago

OKay this situation: i have 2 date pickers 1. Start date and 2. End date i must choose period. and when i select some date from 1. Start date u must dynamicly set past date to 2. End date :) or when u choose 2 u myst dynamicaly set limit tu future option for 1. How can i do that ?