office-ui-fabric-vue icon indicating copy to clipboard operation
office-ui-fabric-vue copied to clipboard

[Vue warn]: Error in mounted hook: "TypeError: $datePicker.find(...).pickadate is not a function"

Open rashed50702 opened this issue 6 years ago • 0 comments

I am using office-ui-fabrice-vue in my application. Now I am going to do some reports for my project and need to use datepicker -

<div class="row">
    <div class="col-sm-4">
        <ou-date-picker label='Start date' placeholder='Select a date...' v-model='startdate'/>
    </div>
</div>

And in script -

<script type="text/javascript">
    export default {
    data(){
    	return {
                 startdate: ' ',
            };
    }
 };
</script>

After this I am getting the error -

[Vue warn]: Error in mounted hook: "TypeError: $datePicker.find(...).pickadate is not a function" found in ---> <OuDatePicker> at /Users/aidewoode/office-ui-fabric-vue/src/components/date_picker/DatePicker.vue

Without datepicker all of office-ui-fabric-vue working fine.

rashed50702 avatar Sep 05 '19 05:09 rashed50702