Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Input is disabled for primary key #12272

Closed
3 tasks done
fishnux opened this issue Mar 21, 2022 · 0 comments
Closed
3 tasks done

Input is disabled for primary key #12272

fishnux opened this issue Mar 21, 2022 · 0 comments

Comments

@fishnux
Copy link

fishnux commented Mar 21, 2022

Preflight Checklist

Describe the Bug

I'm not sure if this is intentional or not, but when creating a new row I can't input the number on the primary key field (which is usually the ID), as the input is disabled by the HTML tag "disabled"

In my use-case, I actually want to be able to input arbitrary IDs

To Reproduce

Create a table with an integer primary key, with auto-increment*, and then use Directus on top of such database

  • auto-increment is not needed for my use-case, although the existing database has it

Errors Shown

No response

What version of Directus are you using?

9.7.0

What version of Node.js are you using?

16.14.2

What database are you using?

PostgreSQL

What browser are you using?

Brave (Chromium-based)

What operating system are you using?

MacOS

How are you deploying Directus?

NodeJS on remote host (Plesk)

@directus directus locked and limited conversation to collaborators Mar 21, 2022
@azrikahar azrikahar converted this issue into discussion #12273 Mar 21, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant