Evaluate Sellect2 cell options properly [pgadmin4]

Поиск
Список
Период
Сортировка
От Harshal Dhumal
Тема Evaluate Sellect2 cell options properly [pgadmin4]
Дата
Msg-id CAFiP3vzJ4_NWygH8X_iPeoUEr99RkMy=t1iNFSH0juHngf9_1w@mail.gmail.com
обсуждение исходный текст
Ответы Re: Evaluate Sellect2 cell options properly [pgadmin4]
Список pgadmin-hackers
Hi,

There are two ways we can provide options for select2 cell either by extending select2 cell with "optionValues" array or by passing "options" (function or array) in column definition.

Generally, if we are passing "optionValues" to select2 cell then we should not look for "options" in column definition but still we were looking for "options". This was causing javascript code to break if "options" were not passed in column definition.

Error fixed:

TypeError: this.column.get(...) is not a function
(this.column.get('options'))(this) :





-- 
Harshal Dhumal
Software Engineer

EnterpriseDB India: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Вложения

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Sandeep Thakkar
Дата:
Сообщение: Re: Patch for pgAdmin4 RPM package
Следующее
От: Ashesh Vashi
Дата:
Сообщение: pgAdmin 4 commit: Proper evaluation of the optionsValues in the Backgri