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

Fixes issue with using multiple params and columns #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gitsno
Copy link

@gitsno gitsno commented Feb 11, 2019

When using this widget I found that if I had more than one column that needed to get HTML from an underlying entity attribute (so I had two parameters and two columns getting values from those parameters), then only the last parameter was used. Other parameters would be ignored and the parameter reference (eg. ${myattribute}) would be displayed in the column instead of the HTML attribute value.
In this pull request I have modified the loop that processes the params to exit once a param value has been used to replace the column value.
I don't know if the intention was to be able to replace multiple params in the Html to apply for a column - if so this change will not do that, but that was also not working prior to this change.

…ams loop to exit once a param has been replaced.
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

Successfully merging this pull request may close these issues.

1 participant