Skip to content

bug: ion-range: value attribute doesn't render correctly in a modal #31026

Closed

Description

@WajdiMuh

Prerequisites

Ionic Framework Version

v8.x

Current Behavior

The value attribute isn't causing the knobs to be placed where they should be if the ion-range is in a modal

Expected Behavior

I would expect that the lower knob is placed at range 20 and the upper knob is placed at range 80

Steps to Reproduce

  1. Add an ion range to a modal
  2. Assign the value attribute to something that you expect

Code Reproduction URL

https://stackblitz.com/edit/trarread-zarwym83?file=src%2Fapp%2Fexample.component.ts

Ionic Info

Ionic:

Ionic CLI : 7.2.1 (C:\Users\test_user\AppData\Roaming\npm\node_modules@ionic\cli)
Ionic Framework : @ionic/angular 8.8.1
@angular-devkit/build-angular : not installed
@angular-devkit/schematics : 20.3.21
@angular/cli : 21.2.3
@ionic/angular-toolkit : 12.3.0

Utility:

cordova-res : not installed globally
native-run : 2.0.3

System:

NodeJS : v25.8.1 (C:\Program Files\nodejs\node.exe)
npm : 11.11.0
OS : Windows 10

Additional Information

No response

Activity

  1. added
    type: buga confirmed bug report
    and removed on Mar 23, 2026
  2. added a commit that references this issue on Aug 18, 2026
    7d64d62
  3. ionitron-bot commented on Sep 17, 2026

    @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.

  4. locked and limited conversation to collaborators on Sep 17, 2026
  5. added a commit that references this issue on Oct 3, 2026
    6990497
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions