mirror of
https://github.com/getrebuild/rebuild.git
synced 2025-03-12 15:11:42 +08:00
picklist maxOptions
This commit is contained in:
parent
7a87c05eaf
commit
04cd311600
1 changed files with 2 additions and 2 deletions
|
@ -6,8 +6,8 @@ See LICENSE and COMMERCIAL in the project root for license information.
|
||||||
*/
|
*/
|
||||||
/* eslint-disable no-undef */
|
/* eslint-disable no-undef */
|
||||||
|
|
||||||
const isMulti = ['MULTISELECT'].includes($urlp('type'))
|
const isMulti = 'MULTISELECT' === $urlp('type')
|
||||||
const maxOptions = 100
|
const maxOptions = isMulti ? 32 : 200
|
||||||
|
|
||||||
$(document).ready(() => {
|
$(document).ready(() => {
|
||||||
const query = `entity=${$urlp('entity')}&field=${$urlp('field')}`
|
const query = `entity=${$urlp('entity')}&field=${$urlp('field')}`
|
||||||
|
|
Loading…
Reference in a new issue