phoenixframework / phoenix_html

Building blocks for working with HTML in Phoenix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using dynamic atoms in Phoenix.HTML.Form.options_for_select/2

coveres opened this issue · comments

I'm building an app where the options are created dynamically from user inputs, since atoms are not garbage collected and the limit is
1,048,576, maybe using a map is a better option not keyword list? I'm rather new to elixir i might be missing something, any help would be appreciated.

well, turns out i don't need a keyword list 🤦 . Feel free to delete.