Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/components/fields/FormComponentBase/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,9 +299,9 @@ export class FormComponentBase extends BridgeBase {
debugger;
}

// For only RadioButton component we need to handle the not required case differently
if (this.theComponentName === 'RadioButtons') {
// If the field is not required, never show a validation error for RadioButtons.
// For only Picker components we need to handle the not required case differently
if (this.theComponentName === 'RadioButtons' || this.theComponentName === 'Dropdown' || this.theComponentName === 'AutoComplete') {
// If the field is not required, never show a validation error for Pickers.
if (!this.bRequired) {
return false;
}
Expand Down