diff --git a/packages/devui/src/Form/widgets.tsx b/packages/devui/src/Form/widgets.tsx index 1d26c3ab..87e69dfc 100644 --- a/packages/devui/src/Form/widgets.tsx +++ b/packages/devui/src/Form/widgets.tsx @@ -4,13 +4,22 @@ import Select from '../Select'; import Slider from '../Slider'; /* eslint-disable react/prop-types */ -const SelectWidget: Widget = ({ options, onChange, value, ...rest }) => ( - -
+ One +
+
+
+
{ return ( this.selectActionCreator(option!.value)} + value={ + options.find((option) => option.value === this.state.selected) || + options.find((option) => option.value === 'default') + } options={options} />