Skip to content
This repository was archived by the owner on Mar 2, 2018. It is now read-only.

Enhancement: enabled-dates attribute #225

@dextermb

Description

@dextermb

Hey,

I would like to see the enabled-dates attribute added to this component to make it easier to disable a large number of dates. I current only want to enable Saturdays, or a select few Saturdays.

With the current functionality of the component I would have to generate a reasonable amount of dates to pass into disabled-dates which doesn't seem to be efficient.

If, for whatever reason, adding enabled-dates is out of scope I would like there to be an EventEmitter when changing year/month, this way I can generate a months worth of disabled dates at a time.

Current behavior

  • I must build an array of disabled dates for a reasonable timespan around the current date.

Expected/desired behavior

  • I would like to pass an array of enabled dates, and then the component would handle disabling all other dates.

Other information

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