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

[Bug] Cant select single month without clicking twice. #582

Closed
jyotiSam opened this issue Mar 16, 2021 · 3 comments
Closed

[Bug] Cant select single month without clicking twice. #582

jyotiSam opened this issue Mar 16, 2021 · 3 comments

Comments

@jyotiSam
Copy link

Vue2-datepicker version:3.9.0
Vue version: "vue": "^2.6.11",
Browser:chrome

Steps to reproduce

  1. Open vue2 datepicker.
  2. Select month tab.
  3. Try to select one month by clicking once.
  4. Cant select single month range without clicking twice.

Please see if this could be fixed.

Reproduction Link or Source Code

we have used something like below:

<DatePicker2
v-model="monthVal"
type="month"
range
format="YYYY-MM-DD"
value-type="YYYY-MM-DD"
:clearable="false"
:disabled-date="disabledAfterToday"
confirm
:open.sync="openMonth"
@change="dateFilterChange('month')"
>

Expected behavior
User should be able to select single month without clicking twice.

Actual behavior
Cant select Single month without clicking twice

@mengxiong10
Copy link
Owner

#429 You need remove the confirm.

@jyotiSam
Copy link
Author

Sorry but I cant remove confirm as we need to show confirm button to user. Is it possible to do it any other way?

@mengxiong10
Copy link
Owner

@jyotiSam #564 (comment)

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

No branches or pull requests

2 participants