EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: roberto on June 26, 2019, 03:58:54 PM



Title: textbox editable property
Post by: roberto 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?


Title: Re: textbox editable property
Post by: aiit on June 26, 2019, 04:44:47 PM
i use "readonly" ad style :D


Title: Re: textbox editable property
Post by: roberto 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