Adding values to arrays in UI not working
See original GitHub issueSystem information:
- Operating system (distribution) and version: Windows 10
- DBeaver version: 7.2.2.202010041557
- Additional extensions: No
Connection specification:
- Database name and version: Postgres (tested on 9.6 and 11)
- Driver name: PostgreSQL JDBC Driver
- Do you use tunnels or proxies (SSH, SOCKS, etc)? : No
Describe the problem you’re observing:
When editing a cell of type array (tested with uuid[] and text[]), in the editor right clicking and choosing “Add element”, will add an element with value NULL. This NULL value is not editable (it used to be). This means that it is not possible to add new actual values.
Steps to reproduce, if exist:
CREATE TABLE test (
id uuid,
testuuid uuid[],
testtext text[],
PRIMARY KEY (id)
);
INSERT INTO test
VALUES
('40340e1a-49a4-46d7-9c67-43d96e778f4a', '{"fc201ae4-5ba3-4fe2-b8be-391822bfda56"}', '{"Test"}');
SELECT * FROM test;
Mark one of the array cells and shift+enter to open editor. Then right click to choose “Add element”.
This will add a new element with the value NULL
It used to be possible to double click the value in order to edit it and insert the actual value. This does not seem possible now, hence making is impossible to add actual values through the UI.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to add items into an array - Help - UiPath Forum
As a workaround you can convert an array to list, add as many items as you need and then eventually convert it back...
Read more >mapping an array onto the UI is not displaying elements right
1 Answer 1 ... The problem is that you forgot key attribute on mapping an array and rendering the same in UI. Without...
Read more >Add Data into an Array in a State Object | Pluralsight
A state object can store arrays that can be updated with a response from an API or users.
Read more >Arrays - Learn web development | MDN
In the final article of this module, we'll look at arrays — a neat way of storing a list of data items under...
Read more >5. Working with Arrays and Loops - JavaScript Cookbook [Book]
In addition, array elements can be set using the same index, which automatically creates ... Problem. You want to easily access all elements...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No still not working on 7.2.3.202010191702
Ah yes. Seems to work if I press enter. My bad. All issues seems to have been fixed in the latest version