acute-select
acute-select copied to clipboard
ac-options function with params
Hi, I'm trying to do something like this:
ac-options="l as l in loadData(1)"
When I'm adding a param to the function the directive isn't working, there is an option to do it?
No, sorry. The directive passes a set list of parameters (callback function, search text and item offset). You could set a value on the scope, though, and pick that up in the loadData function.
OK. i will create a PR soon...