Обсуждение: PATCH: NodeAjaxOptionsControl - Empty dropdown not working

Поиск
Список
Период
Сортировка

PATCH: NodeAjaxOptionsControl - Empty dropdown not working

От
Surinder Kumar
Дата:
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

Вложения

Re: PATCH: NodeAjaxOptionsControl - Empty dropdown not working

От
Ashesh Vashi
Дата:

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