Skip to content
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

[UI] Add row options disappears #1151

Closed
dstala opened this issue Feb 10, 2022 · 6 comments
Closed

[UI] Add row options disappears #1151

dstala opened this issue Feb 10, 2022 · 6 comments
Assignees
Labels
🐛 Type: Bug Something is broken or incorrect unexpectedly.

Comments

@dstala
Copy link
Member

dstala commented Feb 10, 2022

Please enter the following details
Node: v14.18.0
Arch: arm64
Platform: darwin
Docker: false
Database: mysql2
ProjectOnRootDB: false
RootDB: sqlite3
PackageVersion: 0.84.9

Steps To Reproduce

  1. Create a new table with default fields
  2. Delete primary value field 'id'
  3. Add row option attached to sheet disappears

Expected behavior
Add new row option should persist

Screenshots
before delete
Screenshot 2022-02-10 at 5 06 10 PM

after delete
Screenshot 2022-02-10 at 5 06 38 PM

@dstala dstala added the 🐛 Type: Bug Something is broken or incorrect unexpectedly. label Feb 10, 2022
@dstala
Copy link
Member Author

dstala commented Feb 10, 2022

Issue common with both MySQL & PG

@o1lab
Copy link
Member

o1lab commented Feb 10, 2022

id is primary key and title is primary value

@wingkwong
Copy link
Member

I think it is expected as updates are not allowed for a table who doesn't have primary key. @pranavxc please confirm.

@dstala
Copy link
Member Author

dstala commented Feb 11, 2022

it allows to insert new record using "+" icon at top right though

@wingkwong wingkwong self-assigned this Feb 12, 2022
@wingkwong
Copy link
Member

Confirmed with Pranav. "insert" is allowed even the table doesn't have PK. I'll fix it then.

@wingkwong
Copy link
Member

Fixed in 0.84.12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Type: Bug Something is broken or incorrect unexpectedly.
Projects
None yet
Development

No branches or pull requests

3 participants