Add placeholder and callback event to the component