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

Can't make works the toggle and clear buttons on a second datepicker on same view. #57

Open
holic-cl opened this issue Jun 27, 2017 · 0 comments

Comments

@holic-cl
Copy link

Hi, thanks for this package.

I can't make works the data-toggle neither data-clear buttons on a second datepicker added on same view.

      <datepicker
        id="start_at"
        name="start_at"
        :config="{
          wrap: true,
          dateFormat: 'd-M-Y h:i:S',
          allowInput: true,
          enableTime: true
        }"
        readonly>

        <a class="button" data-toggle><i class="fa fa-calendar"></i></a>
        <a class="button" data-clear><i class="fa fa-close"></i></a>
      </datepicker>
      <datepicker
        id="finish_at"
        name="finish_at"
        :config="{
          wrap: true,
          dateFormat: 'd-M-Y h:i:S',
          allowInput: true,
          enableTime: true
        }"
        readonly>

        <a class="button" data-toggle><i class="fa fa-calendar"></i></a> // <-- this
        <a class="button" data-clear><i class="fa fa-close"></i></a> // <-- and this one doesn't works
      </datepicker>

Don't know if i have to add a id or name to the elements.

Any suggestion will be grateful.

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

1 participant