Hey everyone! can you please guide is this syntax for Phoenix select tag is correct ?
<.input field={f[:role]} type="select" options=["developer" "Manager" "QA"] label="Role" required />
Hey everyone! can you please guide is this syntax for Phoenix select tag is correct ?
<.input field={f[:role]} type="select" options=["developer" "Manager" "QA"] label="Role" required />
Quick look this should probably be: ["developer", "Manager", "QA"]
@webuhu why we are using <. this dot syntax instead of <%= can you please clarify what’s the basic difference ?
okay so can we use .eex extension in this and can follow the same previous eex syntax for this like <%= in 1.7.2 version ?