EasyUI Forum
October 10, 2024, 10:45:09 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: textbox editable property  (Read 3594 times)
roberto
Jr. Member
**
Posts: 88


View Profile Email
« on: June 26, 2019, 03:58:54 PM »

Hi,

If the "disabled" property is set to true, the field is not sent to the submit event. How to avoid this behavior?
Logged
aiit
Newbie
*
Posts: 12


View Profile Email
« Reply #1 on: June 26, 2019, 04:44:47 PM »

i use "readonly" ad style Cheesy
Logged
roberto
Jr. Member
**
Posts: 88


View Profile Email
« Reply #2 on: June 26, 2019, 04:57:54 PM »

ok, but it is not a "fancy" solution because date type fields can still be changed and there are no visual cues about the disabled state.
I'm using
Code:
$('#field').textbox('textbox').prop('disabled', true)
and it seems to be working but it is boring when there are 30 fields, for exemple
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!