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

Using "inline" property hides the "Cancel" button. #1052

Open
darderemedy opened this issue Nov 27, 2024 · 0 comments
Open

Using "inline" property hides the "Cancel" button. #1052

darderemedy opened this issue Nov 27, 2024 · 0 comments
Labels
awaiting triage The issue is not reviewed by the maintainers bug Something isn't working

Comments

@darderemedy
Copy link

Describe the bug
I'm currently working with the Date picker, and I'm applying some custom configurations, as you can see below:

<VueDatePicker
  range
  :multi-calendars="!isMobile"
  inline
  :enable-time-picker="false"
  select-text="Apply"
  :ui="customStyles"
  @update:model-value="handleDate"
  @range-start="onRangeStart"
  v-model="date"
  ref="datepicker"
  :action-row="{ showSelect: true, showCancel: true }"
/>

However, if I add the inline property, because I don't want to see the input field, I loose the Cancel button. Is there a reason for that? I searched in the docs but didn't find any mention.

To Reproduce
Steps to reproduce the behavior:

  1. Create a Datepicker instance
  2. Add add the "inline" property
  3. As you can see the "Cancel" button hides.

Expected behavior
I expect the "Cancel" button remain in the widget even with the "inline" property present.

Screenshots

Screenshot 2024-11-27 at 15 39 27

Desktop & mobile (please complete the following information):

  • Google Chrome
  • @vuepic/vue-datepicker": "^10.0.0"
@darderemedy darderemedy added awaiting triage The issue is not reviewed by the maintainers bug Something isn't working labels Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting triage The issue is not reviewed by the maintainers bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant