Skip to content

preview-format prop does not work #957

Closed
@bbraun92

Description

@bbraun92

Describe the bug
Try passing a string to the preview-format prop. The preview text in the calendar does not follow the format.

To Reproduce
See playground for reproduction.
https://stackblitz.com/edit/vuepic-vue-datepicker-b9dzoy?file=src%2Fcomponents%2FPlayground.vue,package.json

Expected behavior
Format in preview bit of the calendar follows the format rule.

Screenshots
Screenshot 2024-07-31 at 14 34 07

Desktop & mobile (please complete the following information):

  • Browser Chrome 127.0.6533.73 on MacOS 14.4.1
  • Library version 9.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions