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

Adding a button to a reactive table cell populated by a collection #457

Open
LouisGacke opened this issue Mar 23, 2017 · 1 comment
Open

Comments

@LouisGacke
Copy link

LouisGacke commented Mar 23, 2017

I've been trying to add a button that will appear in a cell in every row of a table that is populated by passing it a collection. The table is populated with data from the collection but I cannot get it to render a button in one of the cells.

I attempted to use the fn attribute and return HTML via Spacebars.SafeString() but this doesn't do anything, no errors.

I have also checked if the function is ever reached and it appears it is never even called.

Have I misunderstood the usage of the fn attribute or is this a bug?

Thanks

@aslagle
Copy link
Owner

aslagle commented Mar 23, 2017

The fn attribute should work fine for that. There could be a bug or a problem with how you've configured it.

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