Skip to content

Question: Copy one flatpickr input field to anotherΒ #73

@chrisgrande

Description

@chrisgrande

What would be the best way, that when one input field changes it updates another input field with the the same Date/Time values? This would be a one way copy β€” where the other field can then be changed independently.

I tried create a mimic stimulus controller that would copy the value on input, however this doesn't work β€” and I'm also using the altInput so there are other DOM elements in the input tag to facilitate the formatted date.

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