Skip to content

bug: [v7.5] ion-radio-group doesn't work with variables with standalone components #28356

Closed

Description

@petrot

Prerequisites

Ionic Framework Version

v7.5

Current Behavior

I refactored my app to use the new standalone components. I found, that the radio-group doesn't work, if the "value" property comes from a variable.

I forked the original demo code from stackblitz, here is my updated code: https://stackblitz.com/edit/angular-vquurr

You can see: when we pass the value property from a variable, it doesn't work. With simple string, it works as expected.

Expected Behavior

The radio group works as it works with module based version.

Steps to Reproduce

See my code

Code Reproduction URL

https://stackblitz.com/edit/angular-vquurr

Ionic Info

Ionic 7.5

Additional Information

No response

Activity

  1. changed the title [-]bug: ion-radio-group doesn't work with variables with standalone components[/-] [+]bug: [v7.5] ion-radio-group doesn't work with variables with standalone components[/+] on Oct 14, 2023
  2. added
    package: angular
    type: bug
    on Oct 16, 2023
  3. medbenmakhlouf commented on Nov 6, 2023

    @medbenmakhlouf
  4. liamdebeasi commented on Nov 6, 2023

    @liamdebeasi
    Contributor

    Someone from the team will post on this thread when it is resolved. If the team has not posted here yet then it means we don't have an update.

  5. thetaPC commented on Nov 10, 2023

    @thetaPC
    Contributor

    We've fixed the problem, and you'll see the solution in an upcoming release. If you're excited to try it early, you can use the dev build: npm install @ionic/[email protected]

  6. added a commit that references this issue on Nov 10, 2023
    73b8bfd
  7. thetaPC commented on Nov 15, 2023

    @thetaPC
    Contributor

    This issue was fixed in v7.5.5! Please update to the latest version to receive the fix.

  8. ionitron-bot commented on Dec 15, 2023

    @ionitron-bot

    Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

  9. locked and limited conversation to collaborators on Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    package: angulartype: bug

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions