Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DatePicker: responsiveOptions doesn't work #6250

Closed
nime11 opened this issue Aug 19, 2024 · 0 comments
Closed

DatePicker: responsiveOptions doesn't work #6250

nime11 opened this issue Aug 19, 2024 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@nime11
Copy link

nime11 commented Aug 19, 2024

Describe the bug

DatePicker responsiveOptions doesn't work
Break points don't works on any screen....

<template>
  <ThemeSwitcher />
  <div class="card flex justify-center">
    <DatePicker
      v-model="date"
      :numberOfMonths="5"
      :responsiveOptions="[
        {
          breakpoint: '1024px',
          numMonths: 1,
        },
      ]"
    />
  </div>
</template>

<script setup>
import { ref } from 'vue';

const date = ref();
</script>

On stackblitz
https://stackblitz.com/edit/zjdtwj-l2qqdd?file=src%2FApp.vue

Reproducer

https://stackblitz.com/edit/zjdtwj-l2qqdd?file=src%2FApp.vue

PrimeVue version

4.0.0

Vue version

4.x

Language

TypeScript

Build / Runtime

Vue CLI App

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@nime11 nime11 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Aug 19, 2024
@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Aug 21, 2024
@tugcekucukoglu tugcekucukoglu added this to the 4.0.5 milestone Aug 21, 2024
@tugcekucukoglu tugcekucukoglu self-assigned this Aug 21, 2024
LeaderbotX400 pushed a commit to LeaderbotX400/primevue that referenced this issue Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants