| From: | Harshal Dhumal <harshal(dot)dhumal(at)enterprisedb(dot)com> |
|---|---|
| To: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
| Subject: | Numeric control optionally allow null values [pgadmin4] |
| Date: | 2016-03-04 05:25:44 |
| Message-ID: | CAFiP3vw1xbHYaxFq6KqknMO3H1VZ-9iUq02V4i2mNV-+jGPdMg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgadmin-hackers |
Hi,
Please find attached patch for numeric control with optionally allow null
values
Null values: undefined/empty string/null
By default numeric control value can not be null. Use flag *allowNull: true*
to allow null values.
Usage:
id: 'fillfactor', label: '{{ _('Fill factor') }}', deps: ['index'],
type: 'numeric', group: '{{ _('Definition') }}', allowNull: true,
--
*Harshal Dhumal*
*Software Engineer *
EenterpriseDB <http://www.enterprisedb.com>
| Attachment | Content-Type | Size |
|---|---|---|
| numeric_allow_null_4_March.patch | text/x-patch | 3.4 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Harshal Dhumal | 2016-03-04 06:28:02 | Re: Numeric control optionally allow null values [pgadmin4] |
| Previous Message | Ashesh Vashi | 2016-03-03 18:00:38 | [pgAdmin IV] PATCH: Add support for the notices/messages from the backend server. |