We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not getting circular border in input switch primeng component
Linux
No response
17.3.2
17.10.0
Angular CLI App
TypeScript
21.7.1
write the same code as mention in documentation .html: <p-inputSwitch [(ngModel)]="checked"></p-inputSwitch>
<p-inputSwitch [(ngModel)]="checked"></p-inputSwitch>
.ts: checked: boolean;
checked: boolean;
circular border and circle should be visible as visible in the documentation
The text was updated successfully, but these errors were encountered:
solved this by overriding the styles:
:host { ::ng-deep p-inputswitch .p-inputswitch-slider { border-radius: 30px; } ::ng-deep p-inputswitch .p-inputswitch-slider::before { border-radius: 50%; } }
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Not getting circular border in input switch primeng component
Environment
Linux
Reproducer
No response
Angular version
17.3.2
PrimeNG version
17.10.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
21.7.1
Browser(s)
No response
Steps to reproduce the behavior
write the same code as mention in documentation
.html:
<p-inputSwitch [(ngModel)]="checked"></p-inputSwitch>
.ts:
checked: boolean;
Expected behavior
circular border and circle should be visible as visible in the documentation
The text was updated successfully, but these errors were encountered: