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

Good day everyone, I'm working on a Next.js project where I need to allow users to upload images using their device's camera. Here's the relevant snippet: import { Loader2, Camera } from "lucide-...
Micode's user avatar
  • 292
0 votes
2 answers
392 views

I am working on a simple customer intake form, and as part of the validation I need to make sure that a proper zipcode has been included. I know regex would be the easiest way to solve this issue, but ...
Kristy Murphy's user avatar
1 vote
1 answer
85 views

I'm working on a file upload feature in an Angular project where users can upload specific files using an <input type="file"> element. These are the html and css code snippets of the ...
Raed Abdelfattah's user avatar
1 vote
3 answers
291 views

I am making a simple tip calculator and first of all I am trying to save the value of the bill amount which the user can type into the input field (this input field has a type number attribute). There ...
Adri Vasarhelyi's user avatar
0 votes
1 answer
40 views

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> &...
Omar Bin Saleh's user avatar
2 votes
0 answers
153 views

In my experience, when viewing an HTML input field of type "email" with the "multiple" attribute present, Safari shows a blank input, whereas Chrome and FF show the field as ...
mg_ab's user avatar
  • 31
-1 votes
1 answer
85 views

I am programming a web page and I have an input where the user must enter a 5-letter word and a button that will use said word for a function, I want the button to be disabled as long as 5 letters ...
Alejandro Reckziegel's user avatar
-1 votes
2 answers
48 views

I have HTML input which is set to be a numeric input including the up and down carets. To my surprise I am unable to enter any decimal numbers. <input type="number" /> It does not ...
CodeWithCoffee's user avatar
2 votes
2 answers
120 views

New to website programming. I'm trying to make a basic sum equation with 2 input fields taken from client-side. <!DOCTYPE html> <html> <head> </head> <body&...
Shuumi's user avatar
  • 23
3 votes
0 answers
256 views

When I use HTML input type time or date in an Android WebView, then the translation for set and clear is missing in the date and time picker. In this example I'm using Dutch as language. Sample ...
gdingenen's user avatar
  • 333
0 votes
1 answer
121 views

I am trying to add a pattern to a mwc-textfield input to filter a file name. My pattern seems to be valid js regex and seems to work on a html input but does not as a pattern on a mwc-textfield. I ...
Harry's user avatar
  • 59
0 votes
1 answer
169 views

I know there are a lot of similar questions, but I haven't found exactly my case. Using vanilla JS there is an input control in which a user types something. A date as an example (but could be a phone ...
Kasbolat Kumakhov's user avatar
0 votes
0 answers
30 views

I wrote an input form that has input elements with the required attribute set. So when pressing an <input type="submit" /> button, empty fields (and other violations) are complained ...
U. Windl's user avatar
  • 4,738
0 votes
2 answers
302 views

I'm looking for a way to change the style of an element, (like the <body>) when not just text, but specific number like "5214" or something is entered in an <input>. With my ...
Christian Samu's user avatar
0 votes
1 answer
308 views

I'm trying to combine two concepts. This code works... HTML <input type="file" name="files" multiple> <ul id="file_list"> <ul id="...
Steve Smith's user avatar
  • 1,089
1 vote
1 answer
108 views

I can set the width of an <input type=number> field with CSS width = 6em; or width = 100%, but those only set a fixed width or a width that varies with the container. I want the width to depend ...
at.'s user avatar
  • 52.8k
1 vote
2 answers
758 views

I was expecting min and max for <input> to limit the selectable options to the range in between the two values. They do in <input type="number">, for example. But with type="...
user22009348's user avatar
17 votes
2 answers
10k views

I am getting the below console warning for this regex pattern: ^[a-zA-Z0-9+_.-]+@[a-zA-Z0-9]+\\.[a-zA-Z0-9]+$ Pattern attribute value ^[a-zA-Z0-9+_.-]+@[a-zA-Z0-9]+\.[a-zA-Z0-9]+$ is valid with the ...
DuckSoup's user avatar
  • 199
0 votes
2 answers
561 views

I have an html form with a bunch of inputs. When an input gets autofilled by Safari and I then attempt to edit the input there is a weird overlapping of the string. If I click around it seems to fix ...
Snape Ninja's user avatar
2 votes
0 answers
132 views

I've added support to my database for partial date strings, since YYYY-MM is a valid ISO date, however I've noticed that HTML's input element will always return an empty string if the day isn't ...
Spedwards's user avatar
  • 4,510
12 votes
6 answers
3k views

I need to create a scientific input slider. More precisely: n ticks, example: no matter the range (0 - 200, 1 - 11, etc.), I want 11 ticks covering the whole range the number value label below each ...
Basj's user avatar
  • 47.5k
1 vote
2 answers
2k views

I have implemented this solution to my school project However I get this error from the console whenever I attempt to change the value of the initial date field The specified value "2/21/2023&...
ringring18's user avatar
1 vote
0 answers
231 views

I have been wondering (and checked the Bitwarden chrome extension source code but couldn't figure out): how do password managers fill in your passwords? What I'm trying to say is: some websites ...
Jonas Vdr's user avatar
0 votes
0 answers
108 views

I am developing a web service on django with frontend on react. I ran into a problem that I can't upload an image to django. Below is my component code where I'm trying to download it: export function ...
Slllendy's user avatar
1 vote
1 answer
105 views

I have the following html input tag. $("input[type='range']::-webkit-slider-thumb").on('hover', function () { //... }); input[type="range"] { height: 0.5rem; box-shadow: 0 0 0.25rem ...
Al-Anazi's user avatar
  • 463

1
2 3 4 5
16