From 67c569fd84af5fc4ac23744765187776d5fff3ca Mon Sep 17 00:00:00 2001 From: dsmmcken Date: Tue, 16 Apr 2024 16:45:40 -0400 Subject: [PATCH] co-pilot removed a comment on me --- plugins/ui/src/js/src/elements/usePickerProps.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/ui/src/js/src/elements/usePickerProps.ts b/plugins/ui/src/js/src/elements/usePickerProps.ts index e8ac167f8..d4d71d1df 100644 --- a/plugins/ui/src/js/src/elements/usePickerProps.ts +++ b/plugins/ui/src/js/src/elements/usePickerProps.ts @@ -41,6 +41,10 @@ export function usePickerProps( onBlur: serializedOnBlur, onKeyDown: serializedOnKeyDown, onKeyUp: serializedOnKeyUp, + // The @deephaven/components `Picker` has its own normalization logic that + // handles primitive children types (string, number, boolean). It also + // handles nested children inside of `Item` and `Section` components, so + // we are intentionally not wrapping `otherProps` in `mapSpectrumProps` ...otherProps, } as T & SerializedPickerEventProps; }