Open eerkmen opened 1 month ago
The dropdown menu examples and usage code on the Dropdown Menu Documentation page are using script tags instead of output tags. Copying this code and using it prevented the dropdown component from appearing.
app/views/examples/components/dropdown-menu/code/_preview.erb
app/views/examples/components/dropdown-menu/code/_usage.erb
<%
<%=
Description:
The dropdown menu examples and usage code on the Dropdown Menu Documentation page are using script tags instead of output tags. Copying this code and using it prevented the dropdown component from appearing.
Affected Files:
app/views/examples/components/dropdown-menu/code/_preview.erb
app/views/examples/components/dropdown-menu/code/_usage.erb
Proposed Changes:
<%
to<%=
in the mentioned files to ensure the dropdown components render correctly.