Skip to content

Need a new props or a way to show selected filter #156

Open
@sarangshahane

Description

@sarangshahane

Hello Team,

I hope you are doing well and okay.

I have been using this date picker for a long time and now, there is a need to display one filter to be selected once the date picker is opened.

  • Here is the screenshot of the range filter which needs modification:
    datepicker-range-filter

  • This is the screenshot of how it should be displayed when a particular date range is selected.:

    • UI of selected range filter with selected date:
      datepicker-range-filter-selected-filter

    • Classes added after selecting a specific date range filter:
      datepicker-range-filter-html-classes

Also following are a few conditions/suggestions that are good to have.

  • The filter should be selected if any of the mentioned filter's values is selected. Such as If today's date is set then the Today [The filter] should be chosen.
  • Also if there is an option/props made available to insert the user's custom classes when the filter is selected apart from he Default classes then that will be a good improvement.

I hope this clarifies the requirement and current limitations of the component.

Please let me know if in case you require more information.

Looking forward to try this as soon as possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions