Skip to content

Commit

Permalink
Revive placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
minwoox committed Nov 12, 2024
1 parent 416391b commit e498e5c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ const MirrorForm = ({ projectName, defaultValue, onSubmit, isWaitingResponse }:
name="localPath"
type="text"
defaultValue={defaultValue.localPath}
placeholder="/"
{...register('localPath', { required: true })}
/>
<FieldErrorMessage error={errors.localPath} fieldName="Local path" />
Expand Down Expand Up @@ -357,6 +358,7 @@ const MirrorForm = ({ projectName, defaultValue, onSubmit, isWaitingResponse }:
name="remoteBranch"
type="text"
defaultValue={defaultValue.remoteBranch}
placeholder="main"
{...register('remoteBranch', { required: true })}
/>
<FieldErrorMessage error={errors.remoteBranch} fieldName="remote branch" />
Expand All @@ -368,6 +370,7 @@ const MirrorForm = ({ projectName, defaultValue, onSubmit, isWaitingResponse }:
name="remotePath"
type="text"
defaultValue={defaultValue.remotePath}
placeholder="/"
{...register('remotePath', { required: true })}
/>
<FieldErrorMessage error={errors.remotePath} fieldName="remote path" />
Expand Down

0 comments on commit e498e5c

Please sign in to comment.