All Questions
Tagged with html typescript
8,977
questions
0
votes
0
answers
8
views
error NG8001: 'mytable' is not a known element
When I try to compile the front-end of my project, the following error occurs in the userList.html file. Actually, the error occurs in any HTML file located in the ./page folder, but I will use ...
0
votes
0
answers
10
views
How to disable drag and drop in Drawflow package in Angular?
I am using the drawflow package to create a workflow.
I want to disable drag-and-drop functionality from elements this demo as mentioned in the below image, not in the sidebar. In my demo, I want ...
-1
votes
0
answers
15
views
Select Multiple area on image using drag and create hotspot in angular 8/ javascript
Hi all,
I want to implement a feature where user can select multiple rectangular area on image and create hotspot.
Once user click and drag from one position to second position it will draw like ...
0
votes
1
answer
33
views
Angular - Why is my search bar not working well?
dashboard.component.html :
<div class="search-bar">
<form class="search-form d-flex align-items-center" method="POST" >
<input type="...
1
vote
1
answer
44
views
Angular - Why isn't my dropdown list working
HTML code:
<li class="nav-item dropdown pe-3">
<a class="nav-link nav-profile d-flex align-items-center pe-0" (click)="toggleProfileMenu()">
<img src=...
0
votes
0
answers
23
views
How make Global import for HTML element for vanilla js
Hello im learning web devlopment and i want to make a global imports for dynamically button usage cause if i make a
const button = document.createElement('button') as HTMLButtonElement
it will use ...
0
votes
1
answer
29
views
Cannot define variables in TS file with input elements from HTML
I'm trying to run a ts/js file from a button in an HTML file.
I'm using TS and node js.
this is a bit of code where I get the error
document.addEventListener('DOMContentLoaded', () => {
const ...
0
votes
1
answer
51
views
CORS Error: Getting error while trying to get info of user email and password for frontend
I have a localhost port 1000 for backend. For frontend, the port was 5173
Now to access form data from backend, I used CORS to request from my server, but it is showing me Error 401: unauthorised, ...
0
votes
0
answers
11
views
how to tweak the codemirror6 autocompletion popup style
I am using codemirror6 as the code editor, this is the autocompletion code:
import { CompletionContext } from "@codemirror/autocomplete";
export function texAutoCompletions(context: ...
1
vote
1
answer
43
views
Getting error, Null is not assignable to type String | Undefined in angular
I am having problems with my code, is a POS and I am trying to do the Sell part, but this error is keeping me for days and I don't know how to fix it.
X [ERROR] NG2: Type 'string | null' is not ...
-1
votes
0
answers
24
views
The result of MUI text field (FRANK <b>LOVING</b>)render as HTML(FRANK LOVING, loving should be in bold) in React
I have text as FRANK LOVING and here b tag should be rendered as bold like this FRANK LOVING in value of MUI text field. How can i do this in react.js
I tried below samples but nothing seems to be ...
-2
votes
0
answers
30
views
How does browser control + f search works? If I added a search bar on my page and want to apply same logic to get highlighted words which are written [closed]
When I enter "Control + F" on a browser then there is a search bar in the bottom in which if we search any word, then all the words related to that are highlighted. So I have added a search ...
0
votes
2
answers
39
views
How to compare two tsx elements in react + tsx
i want to compare two react tsx elements. i am still new to react and tsx. but i am unale to do so even after copying and pasting the exact elements to compare. Can you tell me why and how to fix it?
...
-2
votes
0
answers
22
views
Why i can't edit my tasks after click in edition button in ReactJs? [closed]
I'm creating a list of tasks in ReactJs and I'm having a problem with editing the tasks, when I click on the edit button it simply deletes all the tasks, could anyone help me create the editing tasks?
...
0
votes
1
answer
53
views
Is there a way to flex field generate by for loops?
This is my code that generates fields using a for loop. I'm expecting the email and phone number fields to be displayed side by side, but instead, they are stacked on top of each other. I believe this ...