Hi, i wanted to know if there is any way to make a whole input form read-only, without manually updating each input's attributes one by one?
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @HariharanB ,
You can add readOnlyExpr="true" in initial <form> tag. (Disconnect & reconnect)
Example,
<form _cs="Customer (abc)" created="2023-03-07 10:53:24.776Z"
readOnlyExpr="true" .... lastModified="2023-03-07 10:53:24.776Z"
name="customer" namespace="name" xtkschema="xtk:form">
Incase if it not reflected in input form after disconnect-reconnect, clear local cache, disconnect-reconnect again.
Hi @HariharanB ,
You can add readOnlyExpr="true" in initial <form> tag. (Disconnect & reconnect)
Example,
<form _cs="Customer (abc)" created="2023-03-07 10:53:24.776Z"
readOnlyExpr="true" .... lastModified="2023-03-07 10:53:24.776Z"
name="customer" namespace="name" xtkschema="xtk:form">
Incase if it not reflected in input form after disconnect-reconnect, clear local cache, disconnect-reconnect again.
Works perfectly. Thank you
Views
Likes
Replies