Passing/accessing $get in a custom view
I am probably approaching this wrong, but I think if I can access/pass the $get data then I can solve the problem.
I have been using a repeater to handle multiple entries into a rota. I have been asked to look at changing it so the entries are in a table format.
Initially, I thought the key/value component would be a good fit, the key would be the day of the week, the value would be the id of the contact. However, I want the user to be able to use a select rather than a free text box. I looked to see if this was possible, but it looked like the most approriate option would be to use a custom view.
I've set one up [screenshot 2], but I need the contact selects to be populated based on options selected on the page.
I have tried passing the data with the viewData method:
And then in the view:
Any help would be appreciated. I'm sure there's a simple solution to this!
0 Replies