[TASK] Refactor Select field's getItems method