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

From Ashesh Vashi
Subject Re: PATCH: NodeAjaxOptionsControl - Empty dropdown not working
Date
Msg-id CAG7mmozwD3jz9RbiArZJKDU+3yt_WtL6X+zPU98-grOTYAHTEg@mail.gmail.com
Whole thread Raw
In response to PATCH: NodeAjaxOptionsControl - Empty dropdown not working  (Surinder Kumar <surinder.kumar@enterprisedb.com>)
List pgadmin-hackers

On Tue, Jan 19, 2016 at 4:58 PM, Surinder Kumar <surinder.kumar@enterprisedb.com> wrote:

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.

Thanks - patch applied.

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company



Regards,

Surinder Kumar



--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


pgadmin-hackers by date:

Previous
From: Ashesh Vashi
Date:
Subject: pgAdmin 4 commit: Setting a missing parameter - 'empty_value' in NodeAj
Next
From: Sanket Mehta
Date:
Subject: Re: patch for cast module