From 4dc3036de285c1a217f50911d3a2cdb10b0a8246 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20=C3=87etin?= <92744169+mehmetcetin01140@users.noreply.github.com> Date: Fri, 7 Jun 2024 09:38:44 +0300 Subject: [PATCH] Fixed #15404 - Component: PrimeNG Slider with range values not working properly --- src/app/showcase/doc/slider/basicdoc.ts | 6 +++--- src/app/showcase/doc/slider/rangedoc.ts | 6 +++--- src/app/showcase/doc/slider/reactiveformsdoc.ts | 6 +++--- src/app/showcase/doc/slider/stepdoc.ts | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/app/showcase/doc/slider/basicdoc.ts b/src/app/showcase/doc/slider/basicdoc.ts index d45b4774b35..29425c8a9ff 100644 --- a/src/app/showcase/doc/slider/basicdoc.ts +++ b/src/app/showcase/doc/slider/basicdoc.ts @@ -8,7 +8,7 @@ import { Code } from '@domain/code';

Two-way binding is defined using the standard ngModel directive.

- +
` @@ -17,10 +17,10 @@ export class BasicDoc { value!: number; code: Code = { - basic: ``, + basic: ``, html: `
- +
`, typescript: `import { Component } from '@angular/core'; diff --git a/src/app/showcase/doc/slider/rangedoc.ts b/src/app/showcase/doc/slider/rangedoc.ts index 90d13ef69c8..e2654694898 100644 --- a/src/app/showcase/doc/slider/rangedoc.ts +++ b/src/app/showcase/doc/slider/rangedoc.ts @@ -8,7 +8,7 @@ import { Code } from '@domain/code';

When range property is present, slider provides two handles to define two values. In range mode, value should be an array instead of a single value.

- +
` @@ -17,10 +17,10 @@ export class RangeDoc { rangeValues: number[] = [20, 80]; code: Code = { - basic: ``, + basic: ``, html: `
- +
`, typescript: `import { Component } from '@angular/core'; diff --git a/src/app/showcase/doc/slider/reactiveformsdoc.ts b/src/app/showcase/doc/slider/reactiveformsdoc.ts index fe904aa7e33..57056ffbfd2 100644 --- a/src/app/showcase/doc/slider/reactiveformsdoc.ts +++ b/src/app/showcase/doc/slider/reactiveformsdoc.ts @@ -10,7 +10,7 @@ import { Code } from '@domain/code';
- +
@@ -27,12 +27,12 @@ export class ReactiveFormsDoc implements OnInit { code: Code = { basic: `
- + `, html: `
- +
`, diff --git a/src/app/showcase/doc/slider/stepdoc.ts b/src/app/showcase/doc/slider/stepdoc.ts index ed6f971765c..8464c6f0283 100644 --- a/src/app/showcase/doc/slider/stepdoc.ts +++ b/src/app/showcase/doc/slider/stepdoc.ts @@ -8,7 +8,7 @@ import { Code } from '@domain/code';

Size of each movement is defined with the step property.

- +
` @@ -17,10 +17,10 @@ export class StepDoc { value!: number; code: Code = { - basic: ``, + basic: ``, html: `
- +
`, typescript: `import { Component } from '@angular/core';