This version of Unity is unsupported.

InputField.readOnly

public bool readOnly;

Description

Set the InputField to be read only.

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