I have a document type with one input field which is String, wanted to disable the input field once the value is entered, it shouldn’t be editable , as I need some unique value for each document created using this document type.
Let’s say I have “Menu” document Type with Field “Unique Id”, I have created multiple documents using “Menu” with different content in each, in order to differentiate each document I want a unique value which shouldn’t be editable by users. I know we can go with UUID, but if document is deleted the UUID will be a new one and we cannot go with the hardcoded UUID.
I also tried adding property “mode” as “view” but this doesnt solve as it is same again if I create multiple documents with “menu”
Please suggest me any solution in order to achieve this.