bootstrap-ui-datetime-picker icon indicating copy to clipboard operation
bootstrap-ui-datetime-picker copied to clipboard

minView do not work

Open EnhengBenben opened this issue 8 years ago • 2 comments
trafficstars

EnhengBenben avatar Jan 17 '17 03:01 EnhengBenben

I want to check minview as month, but not work

EnhengBenben avatar Jan 17 '17 03:01 EnhengBenben

use this code in your controller/js , this will show the calender in months

		$scope.examplePicker = {
			date: new Date(),
			datepickerOptions: {
				showWeeks: false,
				startingDay: 1,
				mode:'[month,year]',
				minMode:'month',
				maxMode:'year',
				}
			}
		};

i used scope here u can use whats appropriate to your code

RamChandraTeja avatar Jan 20 '17 08:01 RamChandraTeja