- Affected Version
- WoltLab Suite 5.5
Ebenfalls nach dem Update auf Suite 5.5.
Fehler:
Code: Search.js?t=1654856084:64
Search.js?t=1654856084:64 Uncaught TypeError: Cannot read properties of null (reading 'id')
at Search.js?t=1654856084:64:58
at CloseOverlay.js?t=1654856084:38:51
at Array.forEach (<anonymous>)
at CallbackList.js?t=1654856084:42:31
at Map.forEach (<anonymous>)
at CallbackList.forEach (CallbackList.js?t=1654856084:41:33)
at Object.execute (CloseOverlay.js?t=1654856084:38:23)
at toggle (Simple.js?t=1654856084:108:36)
at Object.toggleDropdown (Simple.js?t=1654856084:436:13)
at Object.open (Simple.js?t=1654856084:482:34)
Display More
Beispiel-Code:
Code
<dl>
<dt><label for="filterByUser">User</label></dt>
<dd>
<input type="text" id="filterByUser" name="filterByUser" value="{$filterByUser}" class="long" autocomplete="off">
</dd>
</dl>
<script data-relocate="true">
require(['WoltLabSuite/Core/Ui/User/Search/Input'], function (UiUserSearchInput) {
new UiUserSearchInput(elBySel('#filterByUser'), {
includeUserGroups: false
});
});
</script>
Display More
Etwas verwirrend finde ich auch dieses Kommentar im Code // Exception for the search bar in the admin panel. - ich habe den Code im Frontend eingebaut. Wieso hier Code für das Admin-Panel ausgeführt wird erschließt sich mir nicht.