Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.
This repository was 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

@rashed50702

Description

@rashed50702

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions