[Angular] The Cloud Firestore API is not available for Firestore in Datastore Mode database.

2024-03-01 Thread KINGSLEY DARKO ASOMANING (NANA DARKO)
I have an *angular 8 app* integrated into firebase chat which uses *Datastore Mode database*. I am integrating the same chat into an *angular 13* *app* but the new angular/fire library uses firstore API. I have done the necessary configurations but I get the following error when I try to

Re: [Angular] Custom alert component

2021-04-17 Thread NANA DARKO
Why not use sweet alert? It's easy to use and gives you an awesome experience. You just need to install the npm library and you're good to go. On Sat, Apr 17, 2021, 06:38 Prasad wrote: > > Can anyone help me with creating a custom alert component using Angular. > Please see the image on how it

Re: [Angular] Store reusable information

2020-12-03 Thread NANA DARKO
Use a backend api to handle this, saving all records in a database. You can then make a call for any user details with the user token when you want to use it. On Fri, Dec 4, 2020, 04:06 Ronald Rex wrote: > Hi I am new to Angular 10 but I wanted to know what is the best practice > for storing

Re: [Angular] Send email after Registration

2020-12-03 Thread NANA DARKO
Use an api for this. A backend server to store the data and trigger a mail after successfully saving the data in a database On Fri, Dec 4, 2020, 04:03 Ronald Rex wrote: > Hi I am new to Angular but I wanted to know how to send email to user > after they register to authenticate that they

Re: [Angular] Re: CORS issue

2020-11-11 Thread NANA DARKO
Angular is not a backend framework. You should be using something like nodejs, python or c# for the backend/api. So depending on your programming language for the api then you find the fix indicated above. On Wed, Nov 11, 2020, 12:19 Tarun Surana wrote: > can you suggest me what code should be

Re: [Angular] Re: CORS issue

2020-11-10 Thread NANA DARKO
CORS error is not an issue with angular. You need to fix it on the api. Accept headers on the api. You should also allow calls from http localhost (whitelist). This can slightly vary depending on the language you're using for the api. All the best. On Tue, Nov 10, 2020, 22:55 Johannes Hillert

[Angular] Angular 10 Dynamic Form Fields.

2020-08-07 Thread NANA DARKO
I'm trying to build a dynamic form where I get all attributes from the server. However the error binding to [class.is-invalid] class is not working. It doesn't indicate an error colour when I click inside and outside of the input fields even though they have "required" attribute.Your

Re: [AngularJS] Need to get the value of my json in html

2020-06-24 Thread NANA DARKO
The pleasure is mine. All the best. On Wed, 24 Jun 2020 at 11:53, Sandeep Shukla wrote: > Thanks Nana. It worked and it helped me to build the concept. > > Regards > Sandeep Shukla > > On Wed, Jun 24, 2020 at 1:12 PM NANA DARKO > wrote: > >> // *contentElement

Re: [AngularJS] Need to get the value of my json in html

2020-06-24 Thread NANA DARKO
tributes?.sequence }} > *{{ version?.contentElements?.contentType }}* This > does not work for me > > > Regards > Sandeep Shukla > > On Wed, Jun 24, 2020 at 10:54 AM NANA DARKO > wrote: > >> You can do this in your view or template: >> I

Re: [AngularJS] Need to get the value of my json in html

2020-06-24 Thread NANA DARKO
You can do this in your view or template: It will loop through the array displaying the data on the ui {{ version?.attributes?.id }} {{ version?.attributes?.sequence }} On Wed, 24 Jun 2020 at 08:28, Sandeep Shukla wrote: > I had already tried,does not ring a bell and I am not very good

Re: [AngularJS] How to manage 2 Different version of angular & cli for 2 different project on same pc

2020-04-29 Thread NANA DARKO
Hi, You can install a new cli or update your current version globally. Either way you shouldn't have any issues running the current angular 6 project. The updated CLI should work well with both projects. On Wed, Apr 29, 2020, 15:52 Pablo Madalena Targa wrote: > Hi, > > I'm not an expert but

[AngularJS] Project becomes inactive after tapping into App_Initializer

2019-06-14 Thread NANA DARKO
I am getting endpoints from a file within my assets folder before the angular app is bootstrapped. I get the endpoints alright but the app UI doesn't display unless I reresh the page. The application works fine if I do not tap into App_Initializer. Please I would need your help to fix it.

Re: [AngularJS] Limit API Response to Class Attributes

2019-06-14 Thread NANA DARKO
'Type', >> x => x.displayType, >> (a: IAuditLog, b: IAuditLog) => >> a.displayType.localeCompare(b.displayType), >> ), >> ]; >> >> >> Then in the view you can map the settings into the view like so: >> >> >

[AngularJS] Limit API Response to Class Attributes

2019-06-04 Thread NANA DARKO
Please I have this class in angular and have subscribed to an HttpResponse which returns the fields in my class plus extra fields I have not declared. Please how can I avoid those extra fields. Below is my class. Thank you! export class BatchTransactionForReport { recipient_bank_sort_code:

Re: [AngularJS] CORS error passing customized HTTP headers

2019-04-25 Thread NANA DARKO
org/TR/cors/ > > You probably need to add the custom header to the > Access-Control-Expose-Headers value. Look for a middleware for your server > technology (ex. for ExpressJS: https://www.npmjs.com/package/cors). > > > On Thu, Apr 25, 2019 at 5:59 AM NANA DARKO > wro

[AngularJS] CORS error passing customized HTTP headers

2019-04-25 Thread NANA DARKO
I am making a request to an API and passing a customized header but i get this error: Access to XMLHttpRequest at 'https:///payment-providers/list/

[AngularJS] CORS error passing customized HTTP headers to API

2019-04-25 Thread NANA DARKO
I am making a request to an API and passing a customized header but i get this error: Access to XMLHttpRequest at ' https:///bulkpayment-api/bank/payment-providers/list-bank-sort-codes/

[AngularJS] CORS error passing customized http headers

2019-04-25 Thread NANA DARKO
I am making a request to an API and passing a customized header but i get this error: Access to XMLHttpRequest at 'https://adb1-api.mesika.org:3/bulkpayment-api/bank/payment-providers/list-bank-sort-codes/' from origin 'http://localhost:4200' has been blocked by CORS policy: Request

Re: [AngularJS] Re: Share session storage or local storage data between tabs in angular

2019-03-21 Thread NANA DARKO
stomers, you could use a local file to share data between the two tabs. > > > > On Friday, March 15, 2019 at 8:19:34 PM UTC-7, NANA DARKO wrote: >> >> This doesn't work because the session is stored for a different app in a >> different tab >> . >> >>

Re: [AngularJS] Re: Share session storage or local storage data between tabs in angular

2019-03-15 Thread NANA DARKO
en them, see this excellent tutorial: > > > https://angularfirebase.com/lessons/sharing-data-between-angular-components-four-methods/ > > HTH > > Harry > > > > On Friday, March 15, 2019 at 11:03:07 AM UTC-7, NANA DARKO wrote: >> >> How can I share session

[AngularJS] Share session storage or local storage data between tabs in angular

2019-03-15 Thread NANA DARKO
How can I share session storage or local storage data between tabs in angular? -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to