Questions tagged [disabled-input]

427 questions
5
votes
2 answers

Input appears disabled in IE, but is not disabled

I have an input (button) on my page that looks like this: I am overriding the form submit action so I can check a few things before actually submitting the form. Before doing this,…
mtmurdock
  • 12,756
  • 21
  • 65
  • 108
4
votes
2 answers

How to disable an input field if it has value in blade.php

I am trying to disabled an input field if it has value. Somehow, it looks like this: I have tried adding like:
Eem Jee
  • 1,239
  • 5
  • 30
  • 64
4
votes
1 answer

Disable textbox inside an AngularJS Dynamic form

I need to disable the textbox inside my angularJS dynamic form after I clicked the button. my code seems to be working fine if I am going to disable textbox outside the dynamic form but when I get the ID of the textbox inside the dynamic form it is…
bleyk
  • 799
  • 3
  • 14
  • 41
4
votes
1 answer

summernote drag and drop option does not work

I put summernote editor in my web application. And I found it still able to drag drop image into editor area. Of course I blocked summernote input with the code below.(Below method is provided in summernote official…
4
votes
1 answer

How to secure php online editor in php?

I have created a php editor using file function, where users can run code online and get result on the same page. executephp5.php
Write your code here
Amit Verma
  • 40,709
  • 21
  • 93
  • 115
4
votes
5 answers

How to disable submit button until all text fields are full and file is selected

I'm new to javascript / jquery so I may be missing something obvious, but I've found solutions that disable the submit button until all text fields are filled, and I've found solutions that disable it until a file is chosen. However, my form…
Codedstuff
  • 179
  • 1
  • 3
  • 11
4
votes
6 answers

how to disable a html button after it has been clicked not a submit button

hi i have a html button and when you press it, it should give you the distances of shops from where you are so when you press it they appear now the problem is because it is in early stages the information is printed everytime the button is pressed…
Pazrat
  • 103
  • 1
  • 1
  • 9
4
votes
3 answers

Disabled Text Input with onclick

I need a way of capturing onclick, for a text input that is disabled. I would prefer not to use jQuery, but if there was no javascript alternative, would use it. Thanks in advance EDIT: I have tried simply adding an onclick="" to a disabled text…
user2370460
  • 7,470
  • 10
  • 31
  • 46
4
votes
3 answers

JQM, CSS: How to change disabled fields css?

I have simple JQuery Mobile form where I have textfields that could be disabled or enabled depending on some conditions. Normal enabled textfield looks like this: and disabled looks like that: I'd like to make the text in the disabled field a bit…
Anton Belev
  • 11,963
  • 22
  • 70
  • 111
4
votes
3 answers

Disable input in html

I'm creating the 8 puzzle box game in Javascript and Jquery mobile. I've done the boxes with an and I've putted all of them in a 9x9 table. The problem is that when I click on a box to move it,even if it is readonly, the…
Malo
  • 111
  • 1
  • 3
  • 8
3
votes
4 answers

Change border color of MUI disabled outline input

I am really struggling to find where this border color is defined. I have inspected the dom but see no border style in any of the input component nor its pseudo elements... I simply want to lighten the color of the input border to match my theme…
TOPKAT
  • 6,667
  • 2
  • 44
  • 72
3
votes
1 answer

how to disable matchip in angular

So I have Tags component and I imported that component in my Chart-details component. In my Chart Details component I have a checkbox that will disable all the input box, drop down box, buttons that are located inside chart-details page but some…
user9436741
3
votes
1 answer

How to disable Angular Material Datepicker dates from an array of dates?

I have an array of Dates that I call holidayList that I'd like to disable using Angular Material's Datepicker. holidayList: Date[] = []; this.holidayList: [ new Date("1/1/2020"), new…
Jett
  • 781
  • 1
  • 14
  • 30
3
votes
1 answer

TinyMCE 5.1.1 insert link form fields disabled

My problem is exactly the same as found in this post: TinyMCE 4 insert link form fields disabled The only difference is that I am using tinyMCE version 5.1.1 and using jquery mobile. Basically I have initialized tinyMCE in a jquery mobile popup…
3
votes
2 answers

Add validation to Angular material disabled field

The simplified scenario is whereby on my form I have two fields - A and B. Field A is required and enabled. Field B is also required but disabled and only populated (dynamically) as a result of data keyed in field A, ad as it happens in certain…
tom33pr
  • 853
  • 2
  • 12
  • 30
1 2
3
28 29