p-slider in Angular 8.3.8

UI Components for Angular
Post Reply
rbalbis1
Posts: 3
Joined: 29 Oct 2019, 16:44

29 Oct 2019, 16:58

Hello, I've got a problem I can't figured out :

I have an Angular 8.3.8 app, I've followed the starter guide and I tried to add a p-slider but it doesn't showed up even though I've got a p-radioButton than can be used.

Here's my code :

Code: Select all

                
                
                <p-slider [(ngModel)]="val" [min]="0" [range]="true" [max]="100" [step]="1"></p-slider> // Not showing
                <p-radioButton name="groupname" value="val2" [(ngModel)]="selectedValue"></p-radioButton> // Showed
                
                
Does anyone already got this problem ?

yigitfindikli
Posts: 352
Joined: 08 Aug 2018, 14:09

01 Nov 2019, 10:09

rbalbis1 wrote:
29 Oct 2019, 16:58
Hello, I've got a problem I can't figured out :

I have an Angular 8.3.8 app, I've followed the starter guide and I tried to add a p-slider but it doesn't showed up even though I've got a p-radioButton than can be used.

Here's my code :

Code: Select all

                
                
                <p-slider [(ngModel)]="val" [min]="0" [range]="true" [max]="100" [step]="1"></p-slider> // Not showing
                <p-radioButton name="groupname" value="val2" [(ngModel)]="selectedValue"></p-radioButton> // Showed
                
                
Does anyone already got this problem ?
Hi,
Do you get any error messages ? Can you provide stackblitz sample using with https://stackblitz.com/github/primeface ... e-template ?

rbalbis1
Posts: 3
Joined: 29 Oct 2019, 16:44

01 Nov 2019, 11:09

Hello,
So I don't have any error and I put my code on stackblitz and it worked there ...

yigitfindikli
Posts: 352
Joined: 08 Aug 2018, 14:09

01 Nov 2019, 12:16

rbalbis1 wrote:
01 Nov 2019, 11:09
Hello,
So I don't have any error and I put my code on stackblitz and it worked there ...
Your project run with ivy or did you import slider in your module?

rbalbis1
Posts: 3
Joined: 29 Oct 2019, 16:44

04 Nov 2019, 14:33

yigitfindikli wrote:
01 Nov 2019, 12:16
rbalbis1 wrote:
01 Nov 2019, 11:09
Hello,
So I don't have any error and I put my code on stackblitz and it worked there ...
Your project run with ivy or did you import slider in your module?
I imported slider in my app.module.ts and add it in my @NgModule : imports []

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests