macOS Unable to Search Student Names in Behavior Module

On macOS using Safari, there is an issue when searching for student names in the Behavior module. Currently, the filtering relies solely on the “keyup” event, which fails to properly capture inputs in pinyin, English, and Chinese.

Summary

Even if you switch to using “input” and “compositionend” events, the issue might still persist. This could be due to several factors:


$("#"+_.name+"Search",_.container).on("keyup input compositionend",function(){
    var search = $(this).val().toLowerCase();
    $("option",_.selectSource).each(function(){
        var option = $(this);
        if(option.text().toLowerCase().includes(search)){
            option.show();
        } else {
            option.hide();
        }
    });
});

I have already tried modifying the core.min.js