Skip to content

fix(frontend): prevent page refresh when pressing Enter in API input fields#559

Merged
vcfgv merged 1 commit into
ValueCell-ai:mainfrom
PotatoZhou:main
Dec 9, 2025
Merged

fix(frontend): prevent page refresh when pressing Enter in API input fields#559
vcfgv merged 1 commit into
ValueCell-ai:mainfrom
PotatoZhou:main

Conversation

@PotatoZhou

@PotatoZhou PotatoZhou commented Dec 9, 2025

Copy link
Copy Markdown
Contributor

📝 Pull Request Template

1. Related Issue

Closes #544

2. Type of Change (select one)

Type of Change: Bug Fix

3. Description

prevent page refresh when pressing Enter in API input fields (api host and api key form)

4. Testing

  • I have tested this locally.
  • I have updated or added relevant tests.

5. Checklist

@DigHuang DigHuang changed the title fix(frontend): prevent page refresh when pressing Enter in API input … fix(frontend): prevent page refresh when pressing Enter in API input fields. Dec 9, 2025

@DigHuang DigHuang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vcfgv vcfgv changed the title fix(frontend): prevent page refresh when pressing Enter in API input fields. fix(frontend): prevent page refresh when pressing Enter in API input fields Dec 9, 2025
@vcfgv
vcfgv merged commit 38dd2ec into ValueCell-ai:main Dec 9, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Frontend UI] Pressing Enter in "API Host" input clears the Models list

3 participants