Skip to content
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.

min-datetime should update datetime #249

Open
Herz3h opened this issue Jan 26, 2021 · 0 comments
Open

min-datetime should update datetime #249

Herz3h opened this issue Jan 26, 2021 · 0 comments

Comments

@Herz3h
Copy link

Herz3h commented Jan 26, 2021

Versions

  • vue: 2
  • vue-datetime: ^1.0.0-beta.14
  • luxon: ^1.25.0

Description:

If you update min-datetime it should set the datetime to at least the min-datetime if it is set earlier.

Steps To Reproduce:

Set date to: 2021-01-26T07:57:38Z
Set min-datetime to: 2021-00-01T07:57:38Z

This should update datetime to 2021-00-01T07:57:38Z instead of leaving the previous value set.

https://jsfiddle.net/k739w15p/2/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant