Skip to content

clicking doesn't close the date picker #10

@NullVoxPopuli

Description

@NullVoxPopuli

It makes me have to click the close button to get rid of the modal.

Here is how I'm invoking the date picker:

    = pick-a-date date=(readonly value) nulls-date=true on-selected=(action (mut value)) options=(readonly dateOptions)

dateOptions from the component

  dateOptions: function() {
    return {
      selectMonths: true,
      selectYears: true,
      onSet: function(context) {
        this.close();
      }
    };
  }.property()

from package.json
"ember-cli-pickadate": "1.0.0",

on page load:


DEBUG: -------------------------------
DEBUG: Ember             : 2.1.1
DEBUG: Ember Data        : 2.0.1
DEBUG: jQuery            : 2.1.4
DEBUG: Ember Simple Auth : 1.0.0
DEBUG: -------------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions