Skip to content

[Request]: Support UUIDs #43

@Senexis

Description

@Senexis

As the discussions are disabled there isn't another avenue to post feature requests currently, so apologies for having to go through this channel.

Currently the views are not set up to support UUIDs. When extending the models and tables with the HasUuids trait, everything server-side works fine, however, since the $item->getKey() calls are just dumped into the views, Alpine will crash as it is trying to evaluate the keys as Javascript literals.

I would love to see support for any key type. I suspect but have not yet tried wrapping the $item->getKey() calls with @js() instead of {{ }} in the component would go a long way but, again, since I have not tried yet I'm not sure currently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions