PATCH: NodeAjaxOptionsControl - Empty dropdown not working - Mailing list pgadmin-hackers

From Surinder Kumar
Subject PATCH: NodeAjaxOptionsControl - Empty dropdown not working
Date
Msg-id CAM5-9D9wSXLi9=+KT8QKs9ZVEiu+Lxh1XWB+WJROmvXQh9YehQ@mail.gmail.com
Whole thread Raw
Responses Re: PATCH: NodeAjaxOptionsControl - Empty dropdown not working  (Ashesh Vashi <ashesh.vashi@enterprisedb.com>)
List pgadmin-hackers
Hi,

To keep select dropdown option empty by default, we set a property `first_empty`  to true.
but it is not working. because `empty_value` is missing. Add 

empty_value: '-- None --',

in defaults to make it work.

Please find minor patch to fix issue Empty Dropdown issue in NodeAjaxOptionsControl.


Regards,

Surinder Kumar

Attachment

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Use a custom configuration dialogue and allow the use
Next
From: Sanket Mehta
Date:
Subject: PATCH: resolved an issue occured in cast creation