Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

JupyterLab textarea widget doesn't accept 'enter' or 'tab' key presses?

So the problem is that when I create a textarea widget and try to type something in the textarea, the textarea doesn't observe 'enter' or 'tab' key presses. I'm still able to copy-paste text with tabs ...
Truelemming's user avatar
0 votes
0 answers
18 views

viewport does not push up with on screen keyboard on iOS safari

I have a React based pwa with a textarea input. On my own device (Andorid chrome and FF), tapping the textarea pops up the onscreen keyboard and it pushes all content upwards as if it is adding margin-...
Null Salad's user avatar
0 votes
1 answer
47 views

Why doesn't localstorage show me the current version?

I would like to create a field where the user can write something. As soon as you press the “Speichern” button, the text should no longer be editable. It should only be editable again with the “...
Wabiu's user avatar
  • 1
0 votes
0 answers
17 views

safari browser on iphone 14 - textarea resizing not working

I have placed a textarea on a simple HTML Page. The textarea can be resized easily on desktop (from right bottom corner) but not on mobile phone. I want the same functionality on mobile. Here's a ...
Neeraj's user avatar
  • 21
-1 votes
1 answer
50 views

Making a textarea visible when a <p> is hovered [duplicate]

I want the <div id="Feedback"> to appear when I hover over <p>Would you like to give feedback?</p>. In other words, I want the <textarea> and <p>How can we ...
Talha Saleemi's user avatar
0 votes
0 answers
15 views

TextArea not clickable inside draggable div

I am using Drag and drop functionality for divs. All divs has a common html structure based on dynamic data. Each div has one textarea in which I am adding description for each item. Before I ...
Nikita's user avatar
  • 328
0 votes
1 answer
47 views

Failed to construct 'ResizeObserver': parameter 1 is not of type 'Function'

I am trying to render HTML inside textarea and I have an ajax call from the controller to read the value and parse it as var to the render() function. I followed the question here However, the render(...
PartTimeNerd's user avatar
0 votes
0 answers
12 views

Request.QueryString variable values

I need to be able to read a Form set of inputs into a request.querystring, but the number of records may change. I am trying to avoid this: q1=request("Q1") q2=request("Q2") ... ......
Denis Hadley's user avatar
1 vote
1 answer
70 views

JavaFX TextArea - Get caret bounds

I am trying to show a popup beneath the caret of a text area. This means I need both X and Y coordinates. I am currently trying to achieve it this way: final var textFieldBounds = input....
Marcel's user avatar
  • 1,578
0 votes
0 answers
12 views

Text AREA not showing up in GUI (2021x r2, Cameo) when running simulation (no issue with text FIELD)

Morning, (2021x r2) I am using a Text AREA because I need multiple lines of text for clarity. In the GUI that displays some key value properties In the containment tree the text area is associated ...
Joseph Neuman's user avatar
0 votes
1 answer
164 views

Is <textarea> .value Cross-Site Scripting (XSS) safe?

I am writing a static page for a tool: User pastes in base64 and it gets converted into plaintext. Not like it matters, but because the context is cryptographic, I want to prevent XSS. I noticed ...
vector001's user avatar
0 votes
0 answers
24 views

How to save the text that the user enters in a text box using javascript and HTML only [duplicate]

I am making a journal website and there is a page where the user can enter any amount of text into a textbox. I want to save this text as a .txt file locally on the system when the user presses the ...
Lavi's user avatar
  • 13
-1 votes
1 answer
36 views

Preserving text area line breaks using Jsoup

I have an HTML string that includes a text area with multi line content such as below: <textarea id="textbox" name="textbox">*This is line 1 *This is line 2 *This is line 3 &...
nick_j_white's user avatar
0 votes
1 answer
38 views

Make table row height adjust to textarea content

I have the following table with a textarea inside the td: #myarea { box-sizing: border-box; border: none; width: 100%; height: 100%; resize: none; } <table> <...
bbWebDev's user avatar
2 votes
2 answers
55 views

Textarea right padding when using a horizontal scrollbar?

When creating a textarea with a horizontal scrollbar, how to enable a padding on the right side? CSS padding works for the top right corner, but not for the right side: textarea { white-space: ...
Basj's user avatar
  • 45.4k
0 votes
1 answer
24 views

Required textarea field is not appropriately scrolled to when using fixed header. CSS property scroll-margin/padding does not work

I have a fixed header on my website and a form. There are some input fields and some textarea fields that are required. When the form is submitted without those fields filled, I would like the user to ...
plsssineedheeeelp's user avatar
-1 votes
1 answer
38 views

copy multiple textareas with same button

I wrote this code to copy multiple textareas' content with a unique button, but only the first textarea is copied. var copyText = document.getElementsByClassName("form-control")[0]; function ...
Abessi Sofiene's user avatar
0 votes
0 answers
27 views

How can I preserve undo history when programmatically changing the value of a textarea in JavaScript in a modern way?

I created a textarea, and set the value of the textarea to something else. However, when the user presses Ctrl+Z, the textarea does not restore the value it had before programmatically changing its ...
user avatar
0 votes
0 answers
6 views

How can i make the html textarea more robust and hadle mor text fomatting?

i need a text area where the user could write an article, add titles, subtitles and newlines I dont want to use TinyMCE or paid services and chagpt recomend to do a cript that adds to the tags i ...
user25623849's user avatar
0 votes
1 answer
111 views

Change Color TextArea NextUI

I have a React JS web app. I have a custom theme, all components change color but not TextArea. When I watch inspector, TextAra use "--nextui-default-100: 240 3.7% 15.88%;" but I tried to ...
Pleiode's user avatar
0 votes
0 answers
17 views

How input in textarea without refresh

How input param with input in textarea without refresh $ArNumbers->int2str($params); No other file send <input id="textbox" name="textbox" type="text"> <button onclick="...
Zaidbadi's user avatar
2 votes
1 answer
48 views

Why does the textfield not display the proper value, when i select it? (unity custom inspector)

I'm having trouble with my custom unity editor. I have created a TextArea in my editor script, but it acts strange when i try to change the value via code, while also selecting it. textEditor.text = ...
Kian's user avatar
  • 51
2 votes
2 answers
64 views

How to make a textarea expand vertically to fill all rows in a table?

I'm trying to create a table with a corresponding textarea for notes in each row. Additionally, I have a toggle switch that, when enabled, hides all but the first textarea and makes the first textarea ...
Oliver's user avatar
  • 978
0 votes
1 answer
62 views

Get the value of the (newly created) Textarea and insert it into Google Sheets

I have a number of Textareas, and can create new Textareas. I use the insertValue button to insert the values of the textareas into the spreadsheet. My code is as follows: HTML: <!DOCTYPE html> &...
Lê Phong Nguyễn's user avatar
1 vote
2 answers
40 views

Access text typed in a textarea with javascript

var textarea = document.getElementById("id"); var text = textarea.innerHTML; My problem is that "text" always remains the value the textarea started out with. Not what was typed ...
Daniel's user avatar
  • 60
0 votes
0 answers
42 views

How to auto resize the height of textarea element using ReactJS?

How to resize the height of textarea element automatically based on the input? Add a file into your solution, useAutoSizeTextArea.ts import { useLayoutEffect } from "react"; const ...
Ram's user avatar
  • 1
1 vote
1 answer
46 views

Placeholder issue with Textarea when text align center

I want to center align textarea with placeholder. so I am using following code <textarea style="text-align: center" placeholder="Type Here..."></textarea> But issue is ...
Hardik Gondalia's user avatar
0 votes
1 answer
81 views

dangerouslySetInnerHTML not working in NextUI

I am new to NextUI and React. I need to add html into a textarea because I will add some highlighted substrings, but the html is interpreted as plain text. Below is my current code. I tried using ...
kabikaj's user avatar
  • 45
0 votes
0 answers
12 views

is it possible to add a div inside input text area using react

Is is possible to implement the screenshot show Need to create an react component which has text field and whenever a file upload button is clicked then the file name with delete option should be ...
user2453753's user avatar
0 votes
0 answers
47 views

how to trigger a char in input ( @ like in mention someone) in angular

i have an input it should display a list on user to choose from and display it it can be a text area or an input i try to use this package Angular Mentions but it seems it's not supported in angular ...
amnah's user avatar
  • 91
0 votes
0 answers
33 views

How to select part of the text when using TINYMCE Non Editable FullScreen?

In a certain module of my application, due to business needs, the TinyMCE editor is configured as non-editable. However, the user needs to select only part of the TEXT displayed in the editor and not ...
Augusto Rocha's user avatar
0 votes
0 answers
40 views

Enter characters from the virtual keyboard into the textarea where the cursor is located

I have a virtual keyboard and some textarea text input fields (here I have 2 input fields): <textarea class="content" type = "text" id="content1" name = "content1&...
Lê Phong Nguyễn's user avatar
0 votes
0 answers
11 views

Why does the textarea rows count not decrease when content is removed?

When I don't set the rows to state or textAreaRef.current.rows = calculatedRows, the console log properly increases and decreases the calculatedRows. However, as soon as I set the calculatedRows to ...
muflih's user avatar
  • 1
0 votes
1 answer
45 views

Can't type/click into a text area anymore due to jQuery but can't see what's causing it

I'm learning jQuery at the moment via a Front End Web Development online course. I have a text area on my webpage but since using jQuery I can't type or click into the text area. I know the problem is ...
J Master J H's user avatar
0 votes
0 answers
15 views

How to force new line by textarea in textFit library create by STRML

Since about a week I try to solve that problem. I'm using this library https://github.com/STRML/textFit and I'm try to report this problem but nobody response. My code: https://codepen.io/Mativve/pen/...
Mativve's user avatar
  • 115
0 votes
1 answer
62 views

Prevent line breaks after certain number of lines in a text area or contenteditable div

I want to create a text area or contenteditable div (preferably a text area) that has a max number of lines where, when hitting the max line, no new line breaks are added and all new text is hidden (...
Billy1301's user avatar
1 vote
0 answers
21 views

Textarea - cursor moves to end - react

As I type something in textarea, it works fine. But when I try to take cursor back to add/edit some text, after typing one character it moves to the end. Code: React.createElement('textarea', { ...
Dragut's user avatar
  • 127
1 vote
3 answers
51 views

Javascript textarea keydown detect if Alt gr key being pressed and prevent its action futher

I Have a character limit in my text area and when it reaches a verge of 999 out of 1000 i dont want any accent characters to be entered. Im not able to capture the final output of combination key, so ...
Priya Ganesan's user avatar
1 vote
1 answer
52 views

Javascript Textarea prevent Alt gr + key combinations on KeyDown/KeyUp events itself

In my text area im using onKeydown event to listen to characters typed by user. I need to prevent Alt gr + key combination values (ē, r̥, ṭ,...) to avoid accented keys in my text area. if (event.code =...
Priya Ganesan's user avatar
0 votes
0 answers
17 views

Scrollbar in HTML textarea is not scrolling automatically when the data is added via speech to text dictation software

I am using a text area in HTML. User of our application using speech to text software and it will put the that converted text to text area. After 3 lines scrollbar comes showing but if user keeps ...
Sunny's user avatar
  • 308
0 votes
1 answer
53 views

React/HTML Editable Div being unfocused after content changed

I am trying to create a text input that automatically wraps. The default input and textarea blocks did not work for the styling I wanted so I resorted to using a contenteditable div. Everything works ...
szammyboi's user avatar
0 votes
1 answer
183 views

How to resize textarea by dragging in React Testing Library?

I need to test if Material UI's TextareaAutosize remains smooth while resizing. Since it uses an HTML textarea, I want to simulate resizing it with the mouse, using the grabber on the bottom-right ...
Zeeshan Tamboli's user avatar
0 votes
2 answers
80 views

how to get textarea value in Python that doesn't have value field

I'm trying to parse html page and get the value from a textarea, but i can't achieve it, i will put my code (i started with selenium but it didn't work either). I don't really understand where this ...
Garbez François's user avatar
0 votes
1 answer
94 views

QML: change link's background on hover in a TextArea

I have a TextArea component with richtext content that also includes links. When I hover a link I would like to change its background. I know that I can use css like syntax to change styling in text ...
Benjamin's user avatar
  • 1,084
-1 votes
1 answer
32 views

When I run a function to try and count the words in a text area, the function does not run

I have a function that counts words in a text area box(written in html), but when I try and run the function, though javascript or html, it does not run. I am new to javascript, so I might be missing ...
Alison's user avatar
  • 1
-1 votes
1 answer
59 views

How to display all lines from a form textarea [duplicate]

How to edit the following function to display all lines from a form text area? Form Textarea: <textarea rows="20" cols="60" name='cuqts_quotes' id='cuqts_quotes'><?php ...
jfcby's user avatar
  • 1
0 votes
0 answers
128 views

Way to adding emoji to textarea with keyboard, other than copy/paste

I have noticed that you can copy/paste an emoji from elsewhere into a textarea control on a website, like this 👍, however you cannot just add the code for the emoji and get the relevant emoji (eg. &...
ejectamenta's user avatar
  • 1,075
0 votes
1 answer
182 views

Handling a textarea component in a NextJS app

I am having an issue handling the input of a textarea component in a NextJS app. Here is how the component looks like: <textarea placeholder={pcHld} value={fldNm} onChange={...
Michel's user avatar
  • 11.5k
1 vote
0 answers
78 views

How to perfectly align textarea and canvas fillText

A feature like text box is common in whiteboard applications. Usually the text on canvas fades and the text area over it shows for editing the content when a user clicks the text box. When I tried to ...
Saito Asuka's user avatar
0 votes
1 answer
83 views

Changing color of React textarea resize corner

Is it possible to adjust the color of the little diagonal lines at the bottom right corner of React textarea? I have switched the border color, but the small diagonal lines are still gray (both in ...
VikSil's user avatar
  • 98

1
2 3 4 5
129