-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
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
editor: new wrapper toggle-switch #120
Conversation
ba7b96b
to
1fbc49b
Compare
projects/rero/ng-core/src/lib/record/editor/editor.component.ts
Outdated
Show resolved
Hide resolved
projects/rero/ng-core/src/lib/record/editor/editor.component.ts
Outdated
Show resolved
Hide resolved
projects/rero/ng-core/src/lib/record/editor/toggle-wrapper/toggle-wrappers.component.ts
Show resolved
Hide resolved
@Component({ | ||
selector: 'ng-core-editor-formly-toggle-wrapper', | ||
template: ` | ||
<div class='toggle-wrapper'> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not find the styles of toggle-wrapper
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No specific styles are used for toggle-switch
.
If bootstrap toggle
library is loaded for projec, the display will be a switch (like the screenshoot), otherwise a default checkbox will be displayed.
* Add a new 'toggle-switch' wrapper Co-Authored-by: Renaud Michotte <[email protected]>
1fbc49b
to
870f169
Compare
Co-Authored-by: Renaud Michotte [email protected]
Why are you opening this PR?
How to test?
Code review check list