the doc is unclear
By default, the select uses object equality (===) to determine if an option is selected. This can be overridden by providing a property name or a function to the compareWith property.
but then later in properties
**compareWith**
Description
A property name or function used to compare object values
Attribute **compare-with**
Type ((currentValue: any, compareValue: any) => boolean) | null | string | undefined