Skip to content

[$50] Do not allow selecting "from" date after "to" date #3752

@maxceem

Description

@maxceem

Follow-up from #3730

On the Assets Library page we can apply filters to the files and links, see page https://connect.topcoder-dev.com/projects/8600/assets

We can filter by "Date" by choosing "from" date and "to" date. Currently, we can enter any arbitrary dates. Instead of this, we should not allow choosing "from" date after "to" and "to" date before "from".

image

For this purpose, we can use "min" and "max" attributes of the input and dynamically update them, see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date.

  • We should allow settings "from" the same as "to"
  • We should allow settings only one of the fields "from" or "to" as we do now

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions