548 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
42
views
React Native: How to resolve TextInput maxLength property error on Web platform?
The TextInput maxLength property is not working properly on the web platform. The component allows you to type as many characters as you want and only reduces the text to the correct size after it is ...
-1
votes
1
answer
261
views
React Native TextInput maxLength not working after refocusing
I’m facing an issue with the maxLength property in React Native’s TextInput component.
The maxLength restriction works perfectly the first time I focus and type into the input. However, once I switch ...
0
votes
1
answer
175
views
MUI: AutoComplete not support type number with maxLength restriction how to fix the same?
I'm trying to apply maxLength to AutoComplete component while type is number but it not working
export default function Select({
onChangeInput,
label,
name,
value,
options,
...
0
votes
2
answers
243
views
MUI: TextField not support type number with maxLength restriction how to fix the same?
I'm trying to apply maxLength to TextField component while type is number but it not working.
my code is:
const CustomTextField = ({
label,
value,
maxLength,
required,
disabled,
...
0
votes
1
answer
417
views
How to limit Ant InputNumber maxLength
I am using antd InputNumber component. I wanted to set the maxLength but it doesn't work . I also tried to do it with max attribute to limit the charachters at 12. But none of them worked.
...
-1
votes
2
answers
99
views
Scanning the next line, but only to a certain length
I have an existing code, where I have to scan the next sentence that the user types into the console. This sentence can be no longer than 99 characters. My current code takes the .nextLine() method, ...
0
votes
0
answers
42
views
How to set limit of length inside JTextField? [duplicate]
I'm working on a Java Swing application that involves the use of JTextField for user input. I want to restrict the minimum and maximum length of text that users can enter into the JTextField component....
user avatar
user17191335
1
vote
1
answer
140
views
Why a disabled element is being validated?
I'm creating a custom validation for my HTML form to change the maxlength attribute behavior from blocking the input above limit to non-blocking, so users are allowed to enter more characters than the ...
0
votes
1
answer
448
views
Limit user input in a text field using Kendo UI grid and React
So I have a datagrid, with editable rows where the user can edit and add rows.
I want the user to have a limit on each different row cell field. For example, smallNumber will have 3 and description ...
1
vote
1
answer
866
views
Blazor InputText with maxlength based on dbcontext Table Column size
I've been looking at how to automate a Blazor InputText maxlength attribute to a dbcontext table column size (without using DataAnnotation which repeats information) and have come up with a solution - ...
0
votes
1
answer
41
views
My maxlength 'fix' for android, kills my 'uppercase only' data
I have a password input on my site, which I would like to limit to 8 characters, and change the input data to all upper case characters.
The following code works great for both, except on an android ...
user avatar
user8322896
1
vote
0
answers
183
views
How to call function once on max length of input in Angular?
Here is simple function I want to call confirm when input length = 6 but the issue in this way is that some time it call multiple time same function on max length. I want to call function once only ...
0
votes
1
answer
60
views
Use subqueries to connect two table into one
Tables: CRIMES, SUSPECTS
What was the maximum sentence for the crime committed and what was it? Use a subquery.
table Crimes :
enter image description hereenter image description hereenter image ...
1
vote
1
answer
481
views
The problem of not recognizing max_length in Django
class ConcerModel(models.Model):
Name=models.CharField(max_length=100)
singerName=models.CharField(max_length=100)
lenght=models.CharField()
def __str__(self):
return self....
12
votes
2
answers
14k
views
Create a list of the given length in Dart/Flutter
How to create a list with a given length? I want my list to take only 3 variables, it should not expand.
How to do that in Dart / Flutter?