Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change value after load ? #73

Open
JerryBels opened this issue Mar 6, 2016 · 2 comments
Open

How to change value after load ? #73

JerryBels opened this issue Mar 6, 2016 · 2 comments

Comments

@JerryBels
Copy link

JerryBels commented Mar 6, 2016

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 :

Handlebars.helpers.formatTime(values.reminderDate + "T" + values.reminderTime + ":00")

it gives me the error

Uncaught TypeError: Cannot read property 'data' of undefined

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 !

@JerryBels
Copy link
Author

bump

1 similar comment
@JerryBels
Copy link
Author

bump

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

No branches or pull requests

2 participants
@JerryBels and others