Skip to content

Commit

Permalink
chore: add inline comment for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
tomleo committed Sep 17, 2024
1 parent 5caf663 commit 26471cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions es-ds-components/components/es-radio-button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ function handleRadioButtonClick() {
}
}
// Similar to the API of https://bootstrap-vue.org/docs/components/form-radio#changing-the-option-field-names
// the value can be a string, number, or simple object. Avoid using complex types in values.
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const model = defineModel<any>();
const isChecked = computed(() => props.value === model.value);
Expand Down

0 comments on commit 26471cd

Please sign in to comment.