phoenix_components icon indicating copy to clipboard operation
phoenix_components copied to clipboard

Support a map as single argument

Open san650 opened this issue 8 years ago • 2 comments

Add support for receiving a Map or Keyword list.

<%= button my_attrs %>

where my_attrs is a Map.

san650 avatar Jul 19 '17 16:07 san650

It is allowed?

jhonathas avatar Aug 11 '18 23:08 jhonathas

@jhonathas not right now, you have to create a separate function (in a view?) and "translate" that to the current format.

san650 avatar Aug 12 '18 22:08 san650