Questions tagged as 'angular'

1
answer

Block special characters in input matInput

How do I block special characters in: I tried it this way, but it did not really work: pattern="^ [a-zA-Z0-9] + $" Does anyone have any ideas? Thank you in advance!     
asked by 04.10.2018 / 13:08
1
answer

Position button below table is not working

With this HTML I can not position the buttons below the table. I tried several ways, the current one was another attempt. <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <for...
asked by 17.07.2018 / 18:16
1
answer

Position bottom right button with angle and boostrap

Use stripped table of bootstrap with Angular 6. This is the screen: Seethatyouhaveaplusbuttonintheupperleftcorneranditshouldbeunderneaththetable,rightside.Thisismyhtml<navclass="navbar navbar-dark bg-dark"> <a style="display: block...
asked by 11.07.2018 / 22:11
1
answer

How to navigate between pages using buttons with ionic?

I'm trying to understand how navigations between pages with ionic2 work. I want that by clicking the button below it redirects me to HomePage , how can I do this? Button in menu.html <button ion-button color="light">Butto...
asked by 17.08.2018 / 20:46
1
answer

Problem with CORS in Angular 5

Personal I'm having a test application in Angular 5 and I'm trying to consume the WebService from the top hat. When making this attempt the following error appears:    Failed to load link : The 'Access-Control-Allow-Origin' header has a valu...
asked by 26.07.2018 / 21:47
1
answer

Name is not fixed in variable

Good morning! I have a search that I put the names of some products in a variable, but if I search for another product, it subscribes the new product in the old one, like this: Product search: 2ndProductSearch: Asyoucansee,itreplacesthe...
asked by 27.06.2018 / 15:02
1
answer

'app-welcome' is not a known element Angular 2+

My components are organized as follows: app.module src/ App.Module.ts: Importa os módulos dos componentes <br> App.Routing.module.ts: Rotas raiz do sistema welcome.module src/app/components/ <br> bemvindo -> <br> b...
asked by 28.06.2018 / 16:27
2
answers

How to display and hide Toogle within ngfor correctly?

listNotas() { this.service.getList(this.idAluno).subscribe( data => { this.error = data.error; this.list = data.message; console.log(this.list); }, err => consol...
asked by 19.07.2018 / 00:49
1
answer

How to list files in a directory and use in an Angular2 + Webpack project

Hello, I'm creating a project in Angular2 + Webpack and in this project I use the @angular/material as the design library. So that I can create my own icons using SVG, I'm extending the component MatIcon as it says in the documentation...
asked by 19.06.2018 / 14:31
2
answers

Call app.service when reloading page

When you start the application, the getBanners() function of the banners.service.ts service is executed first, and then the this.headers of the app.service.ts service is changed. If I switch pages, it works normall...
asked by 21.05.2018 / 16:17