Commit 38dd2ec
authored
fix(frontend): prevent page refresh when pressing Enter in API input fields (#559)
## 📝 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
- [x] I have tested this locally.
- [x] I have updated or added relevant tests.
### 5. Checklist
- [x] I have read the [Code of Conduct](./CODE_OF_CONDUCT.md)
- [x] I have followed the [Contributing Guidelines](./CONTRIBUTING.md)
- [x] My changes follow the project's coding style1 parent 79bd6e7 commit 38dd2ec
1 file changed
+12
-0
lines changedLines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
184 | 190 | | |
185 | 191 | | |
186 | 192 | | |
| |||
228 | 234 | | |
229 | 235 | | |
230 | 236 | | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
231 | 243 | | |
232 | 244 | | |
233 | 245 | | |
| |||
0 commit comments