Skip to content

Commit

Permalink
updated based on comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mohas22 authored and mohas22 committed Oct 29, 2024
1 parent 404575e commit e0143a5
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/components/fields/RadioButtons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,11 +201,9 @@ class RadioButtons extends FormComponentBase {
this.localePath,
this.thePConn.getLocaleRuleNameFromKeys(this.localeClass, this.localeContext, this.localeName)
);
return html`
${option.key === this.value
? html` <lion-radio class="psdk-radio-button" checked label=${val} .choiceValue=${option.key}></lion-radio>`
: html` <lion-radio class="psdk-radio-button" label=${val} .choiceValue=${option.key}></lion-radio>`}
`;
return option.key === this.value
? html` <lion-radio class="psdk-radio-button" checked label=${val} .choiceValue=${option.key}></lion-radio>`
: html` <lion-radio class="psdk-radio-button" label=${val} .choiceValue=${option.key}></lion-radio>`;
})}
</div>
</lion-radio-group>
Expand Down

0 comments on commit e0143a5

Please sign in to comment.