Version: 2018.2
public bool readOnly ;

Description

Set the InputField to be read only.

Setting read only allows for highlighting of text without allowing modifications via keyboard.