Describe the bug
The save button is enabled if we delete the user name through properties for the index and primary key. Either the Save button is disabled if we delete the user name through properties or a proper pop-up message is displayed you can not delete the name through properties.
To Reproduce
Steps to reproduce the behavior:
- Launch pgAdmin4
- open the query tool or psql and Create a table and index:
CREATE TABLE public.tab
(
tab1 "char"
);
CREATE INDEX index2
ON public.tab USING btree
(tab1 ASC NULLS LAST)
;
- Table and Index created
- Right Click and select properties
- Drop name
- Save button is enabled <- Issue
--modified SQL displayed in SQL pane
- Now [object Object] is displayed
Please note that this behaviour is also reproducible on the primary key
Expected behavior
Either the Save button is disabled if we delete the user name through properties or a proper pop-up message is displayed you can not delete the name through properties.
Screenshots


Desktop (please complete the following information):
- OS: [e.g. All]
- Version: [e.g. 7.0]
- Mode: [All]
- Package type: [All]
Additional context
Add any other context about the problem here.