+ {props.options.map((option) => {
+ const optValue = option[props.optionValue] as string | number;
+ const optLabel = option[props.optionLabel] as string;
+ return (
+
+ props.onChange(e.value)}
+ onBlur={props.onBlur}
+ invalid={props.invalid}
+ />
+
+
+ );
+ })}
+
+ );
+ },
+ {
+ defaultValue: '',
+ extractValue: (e: unknown) => e as string | number
+ }
+);
diff --git a/Source/CommandForm/fields/index.ts b/Source/CommandForm/fields/index.ts
index 9d7c9ca..6482418 100644
--- a/Source/CommandForm/fields/index.ts
+++ b/Source/CommandForm/fields/index.ts
@@ -11,3 +11,5 @@ export * from './CalendarField';
export * from './ColorPickerField';
export * from './MultiSelectField';
export * from './ChipsField';
+export * from './RadioButtonField';
+export * from './RadioGroupField';