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

Association Tutorial-textField and valueField not working #509

Open
Whiteaj36 opened this issue Dec 8, 2013 · 2 comments
Open

Association Tutorial-textField and valueField not working #509

Whiteaj36 opened this issue Dec 8, 2013 · 2 comments

Comments

@Whiteaj36
Copy link

When working through the tutorial, the values I pass in to the valueField and textField are not showing in the option and text elements. Are these features not in use or am I missing something from the tutorial?

@mde
Copy link
Contributor

mde commented Dec 9, 2013

Could you post some more specifics? Maybe a gist of the code you're working with?

@Whiteaj36
Copy link
Author

I'm working through the tutorial on geddyjs.org on Ubuntu. When I get to the displaying the association part, I want to display the Todo's in the select box but it seems like the textfield and valuefield values aren't being put into the select box.

I've run through the tutorial step by step and only this part hasn't been working so far.

To-Do for this step

<%- selectTag(toDos, step.toDoId, { name: 'toDoId' , valueField: 'id' , textField: 'title' }); %>

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