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

Option: input-class is not getting recognized #92

Open
silasjoisten opened this issue Jul 2, 2024 · 0 comments · May be fixed by #93
Open

Option: input-class is not getting recognized #92

silasjoisten opened this issue Jul 2, 2024 · 0 comments · May be fixed by #93

Comments

@silasjoisten
Copy link

In version 1.1.3 is the input-class option ignored.

<Datepicker
  v-model="state.purchaseDate"
  name="purchaseDate"
  input-class="block w-full rounded-md border-0 p-4 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-black sm:leading-6 cursor-pointer"
  format="dd.MM.yyyy"
  :monday-first="true"
  :disabled-dates="{ from: new Date() }"
/>

The problem lays in https://github.com/shubhadip/vuejs3-datepicker/blob/master/src/components/datepicker/DateInput.vue#L27-L32

PR is following.

@silasjoisten silasjoisten linked a pull request Jul 2, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant