Skip to content

Commit e73735c

Browse files
Doc change to make atom keys explicit for dynamic attributes (#3655)
1 parent 213961e commit e73735c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/phoenix_component.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,7 @@ defmodule Phoenix.Component do
707707
708708
In this case, the expression inside `{...}` must be either a keyword list or
709709
a map containing the key-value pairs representing the dynamic attributes.
710+
If using a map, ensure your keys are atoms.
710711
711712
### Interpolating blocks
712713

0 commit comments

Comments
 (0)