Default actions not showing? #518
-
I'm not able to see the default set of actions on the list/index view. Inspecting the html shows a div for the actions but no contents. I figure I am missing something pretty obvious in the configuration. Any guidance is appreciated. Here is a sample live resource
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey @AlanMcCann, apologies for the delayed response! According to your Live Resource configuration, I cannot see any reasons why your resource actions are not showing up. I went to <div class="tooltip hover:z-30" data-tip="Edit">
<button type="button" phx-click="item-action" phx-value-action-key="edit" phx-value-item-id="1" aria-label="Edit">
<span class="hero-pencil-square h-5 w-5 cursor-pointer transition duration-75 hover:scale-110 hover:text-blue-600" aria-hidden="true" fill="currentColor" viewbox="0 0 24 24"></span>
</button>
</div> This Do you have installed Heroicons correctly on your page? If you insert |
Beta Was this translation helpful? Give feedback.
-
Thanks and no worries about response times! That helped me get on the right path. This was my fault - using another library requiring a conflicting version of heroicons. I was able to create a workaround for now by explicitly calling out heroicons as heroicons2 in mix.exs
and then I changed one line in the tailwind config and everything worked.
That got me going for now with while the other library catches up. |
Beta Was this translation helpful? Give feedback.
Thanks and no worries about response times! That helped me get on the right path.
This was my fault - using another library requiring a conflicting version of heroicons.
I was able to create a workaround for now by explicitly calling out heroicons as heroicons2 in mix.exs
and then I changed one line in the tailwind config and everything worked.
That got me going for now with while the other library catches up.