-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Ability to edit primary key #268
Comments
I first thought you could override the query with Try exploring global scopes on the main Laravel model to |
Just use a Text field? |
@davidhemphill I add |
More importantly, not sure of use cases where the primary key is editable but there are cases where I need to be able to define the primary key when creating an element. At this time, the primary key field is not shown on the create form. |
@davidhemphill Can this issue be re-opened? @fbingha described exactly the situation I'm in as well. The Text field does not work. |
Ok, you're right it doesn't show. I've added this though and it will be available in the next release. 👍 |
I've created a custom text field, so you can edit your ID fields or link a title field on the index screen. |
I have a model that has a unique string as the primary key. I'd like to be able to edit it in Nova, but it seems Nova just hides the primary key from the form with no override I can find.
The text was updated successfully, but these errors were encountered: