35,106 questions
0
votes
0
answers
30
views
'In' and 'Out' missing in Jupyter [duplicate]
Just using Jupyter for the first time.
I have noticed that the the abbreviation 'In' (for input) and 'Out' (for Output) is missing to the left of the code line (please see picture). I am only getting ...
1
vote
1
answer
60
views
Why the input eventlistener with change is not getting the value
I have these three inputs of type number where you can only add one number and you can replace it by pressing any other number between 0 and 9. I have 2 eventlisteners on these inputs the first is to ...
0
votes
1
answer
124
views
Ungetc() Not Ungetting Character
My code is extremely simple, but I figure that's best to figure out what's going on in my program. For some reason, I can't seem to get ungetc() to work properly, nor can I figure out it's purpose. ...
1
vote
1
answer
104
views
Inconsistent format of UTF-8 characters in C++
I've been trying to develop a small console app in C++ for Windows that interacts with an SQLite database. However, this Database may contain UTF-8 characters, e.g. Greek letters. Therefore it is ...
0
votes
1
answer
45
views
How do I make android EditText not selectable, but still clickable?
I have an EditText that I want users to be able to click on in order to make the cursor appear and then enable writing text. However, I don't want the user to be able to select the text (in the way ...
0
votes
0
answers
68
views
What is the correct order of input, and how does it work precisely?
When I want to understand how to input data from the keyboard into a variable, I start by asking how cin and >> work in this context. What is the difference between them, and how are things ...
0
votes
1
answer
66
views
Masking an Input to show "placeholder" text as user types - React
I need to create a phone number input with special input masking. The input will have a placeholder like this: (___) ___-____. As the user types, the "placeholder" text should slowly be ...
0
votes
1
answer
112
views
Hidden Date Input Trigger Calendar OnClick
Simple problem but I am not sure if I think it right. I have a project on NextJS and want to make a date input but also have a custom placeholder and the input still be usable.
I have come to a stop, ...
1
vote
2
answers
65
views
Why won't my function capture the value of my input element?
I'm working on a freeCodeCamp Javascript project and I currently need to obtain the value given by the user on my input element. I'm practically certain I have my code correct, yet when testing it on ...
0
votes
2
answers
287
views
Unity TMPro InputField Decimal seperator
I have TMPro Input field and want to input decimal numbers only. On PC I need to press comma to seperate, point does not work. My phone does not support commas only points so I can only put integers.
...
0
votes
1
answer
41
views
react: updating value of controlled input based on change of props
I bet has been answered a million times, but I haven't had luck searching in google. I don't know a concise way to phrase the question.
As learning project, I am trying create a simple html editing ...
0
votes
0
answers
86
views
Python input() Function Not Accepting Keyboard Input or Returning on Enter
I'm running into an issue with the input() function in python 3.7.9. Under certain conditions, all keyboard input is no longer being reflected on screen and [ENTER/RETURN] key no longer submits the ...
0
votes
0
answers
41
views
how to get value from an input
I would like to retrieve the start and end date value and apply it to two other date fields
<Formik
initialValues={{
date_debut: '',
...
0
votes
0
answers
19
views
Why return false and not simply return is giving the expected behaviour?
My goal is to limit the length of an input of type number to just one number. For this I used the response of Vikasdeep Singh in this SO answer which in my case is working perfectly. I also had to ...
1
vote
1
answer
53
views
Using two variables in AJAX to refresh an input with values from the database
I have 3 inputs ( generation, fuel and engine) with predefined values.
<div class="row">
<div class="col-md-6 b-submit__main-element wow zoomInUp" data-wow-delay="...
1
vote
1
answer
42
views
sbatch command adds 0 to one of the inputs, causing an error
I submitted a batch job:
sbatch --job-name="mybatchjob-false1" -o myoutfile_02aug2024-false1.txt myshllscrpt24_02aug2024.sh myscriptfun_01aug2024 false NA 1 /20jul2024 true NA 8 8 2 /...
0
votes
1
answer
71
views
Change base input tag language in react app, overwrite base browser dependent language
I have a React TS app. There I have i18n. Unfortunatelly the base language of the input with date type depends on the browser settings and independent from the langauge selection inside the app.
It is ...
0
votes
1
answer
110
views
How to get rid of devtools hint in input autofill in Chrome
Recently when I'm working with inputs in React / Javascript and I click into the inputs to type stuff like address etc, Chrome opens up this strange context menu which is unwanted by me. Is there a ...
0
votes
1
answer
94
views
Angular: change detection triggers only once when changing value immediately in parent component
I am setting a value from the parent component and changing it immediately. In the child component, change detection executes only once.
Stackblitz code base
Parent's code: HTML
<h1>Parent ...
0
votes
1
answer
49
views
Why isnt the AntD form component saving the input into the browsers autocomplete feature
Im using the antd package for my Form and Input. For some reason its not preserving the users input for the next session. I gave the input a name attribute along with using autoComplete="on" ...
0
votes
1
answer
75
views
List of controlled components in React
I am trying to have a list of components where each one takes user input and have a separate state.
I want then to be able to filter this list and get the components where for example "switch&...
1
vote
0
answers
25
views
not able to remove default placeholder in React semantic UI Input type Date
I am using the below input using semantic ui react form.
<Form.Input name='StartDate' type='date' placeholder=''
label='Start Date' readOnly={true}
...
0
votes
1
answer
53
views
Simple Floating Placeholder in HTML and CSS wihtout setting background to placeholder
hello i am doing a simple floating placeholder on input. but i dont want to set the placeholder a background, since i have different input backgrounds and different background styles. is there a way ...
1
vote
2
answers
1k
views
How to dismiss file input dialog in Playwright test when using setInputFiles
I'm working on a Playwright test where I need to interact with a file input dialog. I'm using the setInputFiles function to set the input file, but I'm encountering an issue where the file input ...
2
votes
0
answers
129
views
iOS numeric keyboard doesn't have a period and the decimal inputmode is not considering properly the comma
I'm having a problem on iOS devices when filling a <input type="number" inputmode="decimal">. The iOS keyboard for these inputs shows numbers and a comma, only.
iOS keyboard
...
0
votes
2
answers
80
views
Rust handle input for multiple variables in a single input line
I want to read input in rust like this C++ example:
main() {
int a,b;
cin>>a>>b; //read user input into a and b. Can be separated by a space character or \n
cout<<"a:...
0
votes
0
answers
29
views
Problem with the error message displayed in a form
I would like the user to take into account in the form that the numbers are entered with periods and not with commas and I have a problem: the error message is displayed when entering a decimal number ...
-3
votes
1
answer
85
views
I can't reproduce input embedded in a contest interface
I solved a contest task but couldn't submit it because I can't reproduce input embedded in the contest interface. Input is defined in 4 strings, each can be empty but has at its end a symbol for line ...
0
votes
1
answer
41
views
How can I remove the default arrow from the list input and add a new arrow using pure html and css? [duplicate]
I want to remove the default arrow appearing in the list input field. is there anyone please who can help me and show me a way to add a new arrow in place of the default arrow here?
<body>
&...
2
votes
3
answers
428
views
How to trigger event on input date select when value is unchanged?
I am pre-selecting a date on <input type='date' /> and want the user to select a date anyway. If the date selected is the same as the pre-selected value, it does not trigger the change event in ...
2
votes
0
answers
129
views
Custom Caret Positioning in React Input Field Lags Behind Characters
Question:
I'm trying to create a custom blinking caret for an input field in a React application. I've hidden the default caret and positioned a custom caret based on the text width up to the caret ...
0
votes
2
answers
95
views
Why input value isn't changed when re-render is occured by object state update
I am studying React through React Offical Document.
I have question about this challenge.
(https://react.dev/learn/updating-objects-in-state#challenges
https://codesandbox.io/s/rztj2r?file=/src/App....
1
vote
1
answer
2k
views
html input type NUMBER, pure CSS how to customize plus and minus buttons
I found many ways to customize a html input number, e.g.
<input name="tgTxt" type="number" value="36.5" max="37" step="0.5" style="width: 160px;">
with non pure CSS.
Is there a way to ...
1
vote
2
answers
249
views
How to get the value of an input variable from a function using OneOf C#
I want to get the input value from a function.
I call the function:
Name=GetName(Paul)
Where Paul is a member of ClassA, ClassB or Class C. I want to use the following function to call other ...
0
votes
1
answer
63
views
Windows terminal cursor sometimes become strange
While using Windows, I frequently encounter the situation provided in the attached image. It looks somewhat auto-completion and the text cursor stands still until I complete typing a word. I think ...
0
votes
1
answer
91
views
How to write to a user input file name in python [closed]
I have to create and write to a file that's named by user input.
The user is naming the file so the program cannot have a set file name to open. I thought I could do this by setting an input variable. ...
0
votes
2
answers
73
views
Lost focus on one input effects all inputs
I have created an application form with a validation function that requires the user to input the correct information within the boxes before clicking away from that focused box or an error message ...
2
votes
0
answers
56
views
How to I align my input 0 with my layer dense
I'm trying to pass some inputs through a couple of layers, but it seems i'm misaligning my input shape somewhere such that it cannot pass properly through the layers thereby raising a value error as ...
1
vote
1
answer
82
views
How to upload image but NOT using form builder in Symfony 6?
I know there is a simple way to upload image in Symfony 6. In short - create form via form builder and then in the controller we just simply do:
$form = $this->createForm(MyClassType::class);
After ...
1
vote
1
answer
55
views
How to validate a currency field on input event using .replace angular reactive forms
I am trying to validate a currency input field which allows only numeric values and dot(.)
dot is allowed but not as a first character. I came up with the below pattern, everything works fine except ...
0
votes
0
answers
120
views
[SOLVED]Unity New input System: Overlap problem between the PrimaryTouch[touchscreen] and GUI elements
In a tablet game, in an New Input system Action map, I placed an aiming command conveyed by PrimaryTouch[touchscreen], next to other commands conveyed by gamepads, and buttons on the screen.
The idea ...
-2
votes
1
answer
90
views
How to Handle Multiple Input fields(for Pin Log-In) With textmeshpro Unity
I am facing Issue with the multiple Tmpro_Input fields.
I am making Login With pin in which I have the 4 different Input field, Each Input field will contain the 1 input in int and the input is using ...
1
vote
1
answer
120
views
Show autocomplete options above field
I have following component, which makes use of suggestions (using the Autocomplete class):
return Autocomplete<String>(
// ...
fieldViewBuilder: (BuildContext context,
...
-1
votes
1
answer
77
views
Code that changes an input field to Title Case with exceptions
I know there are several variations of this here, but I cannot find one that is doing what I want. I need the text in an input field to be updated to Title Case prior to form submission either via ...
0
votes
1
answer
84
views
Issue with Placeholder Text in Custom NumberInput Component using React
I have created a custom NumberInput component in React and integrated it with Storybook. The component works mostly as expected, but I'm encountering a couple of issues:
When I type the - or + sign, ...
0
votes
2
answers
102
views
unable to fill an array with numbers from input in java
I'm trying to set an array with desired length of numbers.
It has to get the numbers from user but it throws an exception error after getting the first one.
Can anyone help me to fix this please?
...
0
votes
1
answer
34
views
I want to get gender value using radio button male for Male and female for Female via FOR OF
I am checking Male button but getting Female value.
I want to Male value while checking male button.
<script>
let regUsers = [];
let regForm = document.querySelector("#regForm")...
0
votes
1
answer
42
views
undetectable Dart-Input in Visual Code Studio
I made a script in in Visual Studio Code using Dart that grabs the user's input.
The problem is, that if I enter something in the input line in vscode, which is located below the debug console and ...
1
vote
1
answer
43
views
Input unfocused after I type character in my react input field, I think its target issue
If I type anything in my react input field, then it allows me only one character to type and then focused goes outside of the input field and then again I click on input field the allow me to write ...
0
votes
1
answer
91
views
Can I have an HTML number input's arrows jump different than its step attribute?
I have an <input type="number" step="1"> element for choosing font size. However, given the context of drawing on a large canvas, changing the number by 1 is barely ...