Questions tagged [input]
Input is usually related to user input, i.e., to the data that user supplies to a running application. In many systems this input is considered to be potentially dangerous and needs to be sanitized to ensure that the user has not injected runnable code into the application.
input
35,187
questions
-3
votes
0
answers
27
views
line 6 else print('not good') ^^^^^ SyntaxError: expected ':' [closed]
salary = int (input('enter your salary: \n'))
hours = int (input('enter your hours: \n'))
total_salary = salary * hours
if total_salary<200000:
print('good')
else print('not good')
I want to ...
0
votes
0
answers
11
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
0
answers
29
views
How to automatically change the background color on left side of an HTML range slider?
I'm making an HTML music player project and I'm trying to make the left part of the <input type="range" value="0"> slider be black.
The slider is to show how much a song has ...
0
votes
1
answer
41
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
13
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
34
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 ...
0
votes
0
answers
8
views
How to install kerberos client in docker based on Ubuntu Focal image
I tried following docker command in docker file
RUN apt-get update && apt-get install -y krb5-user libpam-krb5
but it stuck expecting interaction from the use, even when i used -y switch.
12:...
-3
votes
0
answers
12
views
Why is Ctrl-Alt-e the same as AltGr-e, sending the euro character (€), on Windows 11 Norwegian input? [closed]
On Windows, when Norwegian language input is enabled, the Ctrl-Alt-e is interpreted as € (same as AltGr-e)
How can I prevent that, cause I want to use Ctrl-Alt-e in the terminal?
0
votes
0
answers
23
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
17
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
50
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:...
-2
votes
0
answers
41
views
TypeError: 'str' object is not callable - Convert str to int [closed]
i'm trying to convert string to float, but appears this type error:
TypeError Traceback (most recent call last)
<ipython-input-133-93612055e8fb> in <cell line: ...
0
votes
0
answers
19
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 ...
-7
votes
0
answers
57
views
Java Boolean input problem using nextBoolean [closed]
Screenshot
Why am I getting this error in the terminal?
PS C:\Users\SHIVAM SAHU> false
false : The term 'false' is not recognized as the name of a cmdlet, function, script file, or operable program....
-2
votes
1
answer
63
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 ...