From 70c62093d71273d5e9bb3b16da519e56682a404d Mon Sep 17 00:00:00 2001 From: Brandy Smith <6577830+brandyscarney@users.noreply.github.com> Date: Fri, 8 Aug 2025 16:29:53 -0400 Subject: [PATCH 1/2] docs(radio): point to correct v7 usage for comparewith --- .../v7/radio/using-comparewith/angular/example_component_ts.md | 3 ++- versioned_docs/version-v7/api/radio.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/static/usage/v7/radio/using-comparewith/angular/example_component_ts.md b/static/usage/v7/radio/using-comparewith/angular/example_component_ts.md index 4e969a433bb..516294e1b42 100644 --- a/static/usage/v7/radio/using-comparewith/angular/example_component_ts.md +++ b/static/usage/v7/radio/using-comparewith/angular/example_component_ts.md @@ -1,5 +1,5 @@ ```ts -import { Component } from '@angular/core'; +import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { IonItem, IonList, IonRadio, IonRadioGroup } from '@ionic/angular/standalone'; interface Food { @@ -13,6 +13,7 @@ interface Food { templateUrl: 'example.component.html', styleUrls: ['example.component.css'], imports: [IonItem, IonList, IonRadio, IonRadioGroup], + schemas: [CUSTOM_ELEMENTS_SCHEMA] }) export class ExampleComponent { foods: Food[] = [ diff --git a/versioned_docs/version-v7/api/radio.md b/versioned_docs/version-v7/api/radio.md index c470a326ed6..dfb0ff2f8c0 100644 --- a/versioned_docs/version-v7/api/radio.md +++ b/versioned_docs/version-v7/api/radio.md @@ -43,7 +43,7 @@ import LabelPlacement from '@site/static/usage/v7/radio/label-placement/index.md 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. -import UsingComparewith from '@site/static/usage/v8/radio/using-comparewith/index.md'; +import UsingComparewith from '@site/static/usage/v7/radio/using-comparewith/index.md'; From 8f98126e3c7488f02c9b175414d94cb3aa226411 Mon Sep 17 00:00:00 2001 From: Brandy Smith <6577830+brandyscarney@users.noreply.github.com> Date: Fri, 8 Aug 2025 16:33:09 -0400 Subject: [PATCH 2/2] lint --- .../v7/radio/using-comparewith/angular/example_component_ts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/usage/v7/radio/using-comparewith/angular/example_component_ts.md b/static/usage/v7/radio/using-comparewith/angular/example_component_ts.md index 516294e1b42..5b9eb15b1ac 100644 --- a/static/usage/v7/radio/using-comparewith/angular/example_component_ts.md +++ b/static/usage/v7/radio/using-comparewith/angular/example_component_ts.md @@ -13,7 +13,7 @@ interface Food { templateUrl: 'example.component.html', styleUrls: ['example.component.css'], imports: [IonItem, IonList, IonRadio, IonRadioGroup], - schemas: [CUSTOM_ELEMENTS_SCHEMA] + schemas: [CUSTOM_ELEMENTS_SCHEMA], }) export class ExampleComponent { foods: Food[] = [