Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

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

Open
rashed50702 opened this issue Sep 5, 2019 · 0 comments

Comments

@rashed50702
Copy link

rashed50702 commented Sep 5, 2019

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
---> at /Users/aidewoode/office-ui-fabric-vue/src/components/date_picker/DatePicker.vue

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant