Use a single input component for creation/editing