;
tier: PropertyValueTier;
disabled?: boolean;
onChange: (nextValue: string) => void;
onReset?: () => void;
}) {
+ const normalizedOptions = options.map((option) =>
+ typeof option === "string" ? { value: option, label: option } : option,
+ );
return (
{label}
@@ -369,9 +372,9 @@ export function FlatSelectRow({
onChange={(e) => onChange(e.target.value)}
className={`appearance-none bg-transparent text-right font-mono text-[11px] outline-none disabled:cursor-not-allowed ${VALUE_TIER_VALUE_CLASS[tier]}`}
>
- {options.map((option) => (
-
))}