Skip to content

Commit 0fa67ed

Browse files
committed
Updated condition
1 parent a347fa6 commit 0fa67ed

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/controls/dynamicForm/DynamicForm.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1181,12 +1181,7 @@ export class DynamicFormBase extends React.Component<
11811181
choices.push({ key: element, text: element });
11821182
});
11831183

1184-
if (field.FormatType === 1) {
1185-
choiceType = ChoiceFieldFormatType.RadioButtons;
1186-
}
1187-
else {
1188-
choiceType = ChoiceFieldFormatType.Dropdown;
1189-
}
1184+
choiceType = ChoiceFieldFormatType.Dropdown;
11901185
}
11911186

11921187
// Setup Note, Number and Currency fields

0 commit comments

Comments
 (0)