
This warning message can be seen on the `site/src/examples/suid-example.tsx`:
const props = createOptions(values, {
key: "name",
disable: (value) => selectedValues().includes(value),
filterable: true, // Default
createable: createValue,
});
return (
<Select
multiple
label="Fruit"
placeholder="Pick some fruit"
onChange={onChange}
{...props}
/>
);
I propose that we add an option to allow developers who have already updated their: userConfig.format || userConfig.disable || userConfig.extractText functions to ignore this text.
With something like:
createOptions(values, {
key: "name",
quietKeyWarning: true, // do not warn that 'format|disable|extractText' receive keyed value
disable: (value) => selectedValues().includes(value),
filterable: true,
createable: createValue,
});
I propose that we add an option to allow developers who have already updated their:
userConfig.format || userConfig.disable || userConfig.extractTextfunctions to ignore this text.With something like: