I'm trying to change the value displayed to the user after he changed some inputs. Specifically, a date input is changed, and then the date displayed under it should change as well.
The date under it uses the helper formatTime to set the date to the right format for user, according to his language and everything. But I don't succeed into changing it. If I try to call in my JS :
Hello guys,
I'm trying to change the value displayed to the user after he changed some inputs. Specifically, a date input is changed, and then the date displayed under it should change as well.
The date under it uses the helper
formatTime
to set the date to the right format for user, according to his language and everything. But I don't succeed into changing it. If I try to call in my JS :it gives me the error
So I thought about using a partial or even a dedicated template just for it, but it seems overkill... Am I missing something ?
Thanks a lot ahead !