cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

"Read only" option from screen set disables the input and doesn't submit data

former_member614659
Participant
0 Kudos
1,004

Hello Experts,

We have noticed that when we make any input field as "read only".
SAP CDC system is making that input as "disabled".

Because of "disabled" form doesn't submit the respective field's data. this is our main concern.
Ideally it should be "readonly"

e.g. We have configured "source" as read only using UI Builder.
But when we inspect that element, we found that input as "disabled".

I am referring to my previous question.

Is there any other approach to make the field as read only and form submits respective field's data?

Thanks,
Rohit

Accepted Solutions (1)

Accepted Solutions (1)

kobico
Product and Topic Expert
Product and Topic Expert
0 Kudos

Read Only property on the SAP CDC screen sets has a bit different meaning than DOM readonly attribute; as DOM readonly attribute doesn't apply any styling to the input, just prevent user to type in it. Screen-set's Read Only intend to prompt the user that he can't edit the data in the field, hence the "disabled" behavior.


If you'd like to add "source" value, you can use the "Metadata" control from the SAP CDC screen-sets toolbox pane, and set its predefined value there

Hope that answered your question

former_member614659
Participant
0 Kudos

Yes, Thanks kobico . It was really helpful.

Answers (0)