PATCH: NodeAjaxOptionsControl - Empty dropdown not working

From: Surinder Kumar <surinder(dot)kumar(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: PATCH: NodeAjaxOptionsControl - Empty dropdown not working
Date: 2016-01-19 11:28:13
Message-ID: CAM5-9D9wSXLi9=+KT8QKs9ZVEiu+Lxh1XWB+WJROmvXQh9YehQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
fix_node_ajax_options_empty_dropdown_issue.patch application/octet-stream 509 bytes

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Sanket Mehta 2016-01-19 11:46:11 PATCH: resolved an issue occured in cast creation
Previous Message Dave Page 2016-01-19 10:26:50 pgAdmin 4 commit: Use a custom configuration dialogue and allow the use