Comments (1)
Hi @lippomano,
It's not possible yet, unfortunately. You can set pure HTML, but not an Angular template.
This has been asked in issue #16 and I've already done some research, but that looks hard to implement because it's not normal component transclusion, since the DOM of the SweetAlert isn't managed by Angular.
Closing as duplicate of #16. Please subscribe to it in order to receive news about this. For now, I recommend you to use a classic input field and use preConfirm/etc to check the password strength (SweetAlert2 also supports displaying a validation message, so you can already do something nice).
Edit: oh, didn't see that you are also the author of issue #16. Yes, it's the very same problem :)
from ngx-sweetalert2.
Related Issues (20)
- Stricts templates & Angular Language Service HOT 1
- open multiple alerts HOT 1
- Default value for *swalPortal directive input HOT 7
- error NG8001: 'swal' is not a known element: HOT 3
- Modal when appear delete overflow-y : auto to hidden severals times HOT 1
- CommonJS or AMD dependencies can cause optimization bailouts. HOT 3
- Module not found: Error: Package path ./public-api is not exported from package HOT 1
- Generic type 'ɵɵ*Declaration' requires between x and y type arguments. HOT 8
- Add support for color property on SwalComponent
- add support for angular 15
- Cannot find module @sweetalert2/ngx-sweetalert2 or its corresponding type declarations HOT 1
- for Angular 16 HOT 4
- Compilation errors after last update - Angular 15 HOT 6
- Sweet alert over dialog primeng
- Will the library be upgraded to v17 of Angular? HOT 1
- Support for Angular 17 HOT 7
- Angular 17 - Stanalone components HOT 1
- Content shrinking when popup opens HOT 2
- Error during installation in Angular 17 HOT 5
- Support for Angular 18 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-sweetalert2.