Home General Discussion

Incident.js Field Change to Read only

CaterhamITSupportCaterhamITSupport Member Advanced IT Monkey ✭✭✭

Dear All,

I would like to make text boxes and check boxes read only and been using the disable: true, and it works ok for text boxes.

I have the same check on two tabs and when I use the disabled: true, it disabled it for all tabs.

Is there a way to make text boxes and check boxes read only on one tab and editable on another tab?

Thanks

Daniel

Answers

  • Justin_WorkmanJustin_Workman Cireson Support Super IT Monkey ✭✭✭✭✭

    Daniel, if the checkbox is using the same property, you are setting its value by checking the one that is not disabled. The "other" checkboxes are just displaying the current value.

  • CaterhamITSupportCaterhamITSupport Member Advanced IT Monkey ✭✭✭

    So on one tab i want to make it read only and on another allow to be edited.

    On the read only tab it would be used for printing (print out version).

    Kind Regards

    Daniel

Sign In or Register to comment.