Skip to content

Commit 70c6209

Browse files
committed
docs(radio): point to correct v7 usage for comparewith
1 parent 688866a commit 70c6209

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

static/usage/v7/radio/using-comparewith/angular/example_component_ts.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
```ts
2-
import { Component } from '@angular/core';
2+
import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
33
import { IonItem, IonList, IonRadio, IonRadioGroup } from '@ionic/angular/standalone';
44

55
interface Food {
@@ -13,6 +13,7 @@ interface Food {
1313
templateUrl: 'example.component.html',
1414
styleUrls: ['example.component.css'],
1515
imports: [IonItem, IonList, IonRadio, IonRadioGroup],
16+
schemas: [CUSTOM_ELEMENTS_SCHEMA]
1617
})
1718
export class ExampleComponent {
1819
foods: Food[] = [

versioned_docs/version-v7/api/radio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import LabelPlacement from '@site/static/usage/v7/radio/label-placement/index.md
4343

4444
By default, the radio group uses strict equality (`===`) to determine if an option is selected. This can be overridden by providing a property name or a function to the `compareWith` property.
4545

46-
import UsingComparewith from '@site/static/usage/v8/radio/using-comparewith/index.md';
46+
import UsingComparewith from '@site/static/usage/v7/radio/using-comparewith/index.md';
4747

4848
<UsingComparewith />
4949

0 commit comments

Comments
 (0)