Skip to content

Commit

Permalink
be
Browse files Browse the repository at this point in the history
  • Loading branch information
getrebuild committed Mar 13, 2024
1 parent 3feafad commit f08317a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion @rbv
Submodule @rbv updated from a2b338 to b8199f
4 changes: 3 additions & 1 deletion src/main/resources/web/assets/js/metadata/field-edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,9 @@ const _handlePicklist = function (dt) {
}
$('#picklist-items').empty()
$(res.data).each(function () {
const $item = $(`<li class="dd-item" data-key="${this.id}"><div class="dd-handle" style="color:${this.color || 'inherit'} !important">${this.text}</div></li>`).appendTo('#picklist-items')
const $item = $(`<li class="dd-item" data-key="${this.mask || this.id}"><div class="dd-handle" style="color:${this.color || 'inherit'} !important">${this.text}</div></li>`).appendTo(
'#picklist-items'
)
if ($isTrue(this['default'])) $item.addClass('default')
})
if (res.data.length > 5) $('#picklist-items').parent().removeClass('autoh')
Expand Down

0 comments on commit f08317a

Please sign in to comment.