early exit when creating an autocomplete cell if the cell is read only

This resolves #1432.