- Issue created by @miwayha
- πΊπΈUnited States miwayha
I chatted with @ultimike about this yesterday, and this might not be a huge lift.
The input is simply
<input type="date">
. Changing it totype="text"
and placing a token in the field magically works, since all the data from that field is just stored in a text column. We tried substituting a token, and it worked out of the box.Mike thinks (and I agree) that the hardest part here is designing the UI correctly. I made a very quick and dirty prototype for what it could look like, attached as a screenshot here.
So we could:
- Add button and some javascript to toggle the "type" attribute on the input
- Add some logic in the form to render the correct type initially (if the saved data doesn't look like a date, use text. Otherwise, use a date.)
- Does there need to be anything else?
Happy to discuss this further, but I think this would make sense.
- Assigned to jmaxant