@@ -247,6 +247,7 @@ function handleRoot(el, Alpine) {
if (typeof by === 'string') {
let property = by
by = (a, b) => {
+ // Handle null values
if ((! a || typeof a !== 'object') || (! b || typeof b !== 'object')) {
return Alpine.raw(a) === Alpine.raw(b)
}
@@ -1461,7 +1461,7 @@ test('active element logic when opening a combobox',
)
-test.only('can remove an option without other options getting removed',
+test('can remove an option without other options getting removed',
[html`<div
x-data="{
query: '',