Skip to content

Commit

Permalink
fix(angular): add missing 'compareWith' input to standalone ion-radio…
Browse files Browse the repository at this point in the history
…-group (#29870)

Issue number: resolves #29826

---------

## What is the current behavior?

When using `compareWith` on `ion-radio-group` in Ionic Angular
Standalone the following error is thrown:

```
NG8002: Can't bind to 'compareWith' since it isn't a known property of 'ion-radio-group'.
```

## What is the new behavior?

- `compareWith` on `ion-radio-group` in Angular Standalone is available

## Does this introduce a breaking change?

- [ ] Yes
- [x] No
  • Loading branch information
ebarooni authored Oct 22, 2024
1 parent 7294e96 commit 47ba703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/angular/standalone/src/directives/radio-group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { defineCustomElement } from '@ionic/core/components/ion-radio-group.js';

import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';

const RADIO_GROUP_INPUTS = ['allowEmptySelection', 'name', 'value'];
const RADIO_GROUP_INPUTS = ['allowEmptySelection', 'compareWith', 'name', 'value'];

/**
* Pulling the provider into an object and using PURE works
Expand Down

0 comments on commit 47ba703

Please sign in to comment.