We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99c78e4 commit 4a7431aCopy full SHA for 4a7431a
src/OptionList.tsx
@@ -265,7 +265,8 @@ const OptionList: React.ForwardRefRenderFunction<
265
);
266
}
267
268
- const omitFieldNameList = Object.values(fillFieldNames(fieldNames));
+ const filledFieldNames = fillFieldNames(fieldNames);
269
+ const omitFieldNameList = Object.keys(filledFieldNames).map((key) => filledFieldNames[key]);
270
271
const renderItem = (index: number) => {
272
const item = memoFlattenOptions[index];
0 commit comments