Skip to content

Commit

Permalink
fix(protocol-designer): replace inputfield with components's one (#17009
Browse files Browse the repository at this point in the history
)

* fix(protocol-designer): replace inputfield with components's one
  • Loading branch information
koji authored Dec 4, 2024
1 parent 20f8538 commit 07cd3ba
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,10 @@ export function EditProtocolMetadataModal(
{t('name')}
</StyledText>
<InputField
placeholder={protocolName}
autoFocus
{...register('protocolName')}
placeholder={protocolName}
value={watch('protocolName')}
/>
</Flex>
<Flex flexDirection={DIRECTION_COLUMN} gridGap={SPACING.spacing4}>
Expand All @@ -103,7 +104,11 @@ export function EditProtocolMetadataModal(
<StyledText color={COLORS.grey60} desktopStyle="captionRegular">
{t('author_org')}
</StyledText>
<InputField placeholder={author ?? ''} {...register('author')} />
<InputField
placeholder={author ?? ''}
{...register('author')}
value={watch('author')}
/>
</Flex>
</Flex>
</form>
Expand Down

0 comments on commit 07cd3ba

Please sign in to comment.