readOnly property

bool? readOnly
getter/setter pair

Controls whether the field accepts user input.

When true, the field displays its value but prevents user interaction. Useful for displaying calculated or locked values.

Implementation

bool? readOnly;