Dynamically change min/max backend date field (dependsOn) #570
Unanswered
ericp-mrel
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Is it possible to have two date fields e.g.
start date
andend date
whereend date
is dependent on the start date. So, when a user selects a start date, the end date cannot be earlier than the start date?I've tried to accomplish this using the
filterFields
method on my model, but I'm assuming the JS widget isn't re-adjusting it's settings as I update theminDate
config value from the backend code.Any help is appreciated.
Thanks!
Entry.php:
fields.yaml
Beta Was this translation helpful? Give feedback.
All reactions