mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUG: TreeDropdownField remove call to get value on search
This call was placing the id of the currently selected record into the search box. Related to https://github.com/silverstripe/silverstripe-framework/commit/93ea066f53 d5d2b2a19cf0dd2e9479a3fc5796f7
This commit is contained in:
parent
8864256601
commit
697972699d
@ -286,7 +286,7 @@
|
||||
);
|
||||
|
||||
this.find('.treedropdownfield-panel').prepend(
|
||||
$('<input type="text" class="search treedropdownfield-search" data-skip-autofocus="true" placeholder="' + title + '" value="' + this.getValue(title) + '" />')
|
||||
$('<input type="text" class="search treedropdownfield-search" data-skip-autofocus="true" placeholder="' + title + '" value="" />')
|
||||
);
|
||||
},
|
||||
search: function(str, callback) {
|
||||
|
Loading…
Reference in New Issue
Block a user