这是indexloc提供的服务,不要输入任何密码
Skip to content

The save button is enabled if we delete the user name through properties for the index and primary key #6204

@FaharAbbasRizvi

Description

@FaharAbbasRizvi

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:

  1. Launch pgAdmin4
  2. 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)
;

  1. Table and Index created
  2. Right Click and select properties
  3. Drop name
  4. Save button is enabled <- Issue
    --modified SQL displayed in SQL pane
  5. 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

Screen Shot 2023-04-27 at 5 07 44 PM

Screen Shot 2023-04-27 at 5 08 07 PM

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.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions