this simple DatePicker with default values
this simple DatePicker with initial value set
the minimum and mazximum years that you can select from in year dropdown. it should be a array of tow elements. e.g: [2000, 2010].
you can bind the value of datePicker input to a valrialble by $model propery, just like rest of input elements.
just like other form element it can send the form data, under the hood it acts as Input tag of type 'date'.
just like rest of form inputs texteditor value can be bound with form $data
By defalut the DatePicker supports tow types of Calanders: Gregorian and Jalali that has tow other types: JalaliAF and JalaliIR, the defalut type is Gregorian
this is the defalut tpye whick does not need to specify, to show, in here we explicitely set it.
we must explicitly specify the type
we must explicitly specify the type
the default date format is "yyyy/MM/dd", but you can explicitly set any dateformate that is supported but momentjs.