File tree Expand file tree Collapse file tree
docs/content.en/docs/release-notes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ Information about release notes of Coco Server is provided here.
2222- fix: quick ai state synchronous #693
2323- fix: toggle extension should register/unregister hotkey #691
2424- fix: take coco server back on refresh #696
25+ - fix: some input fields couldn’t accept spaces #709
2526
2627### ✈️ Improvements
2728
Original file line number Diff line number Diff line change @@ -239,9 +239,7 @@ export function AssistantList({ assistantIDs = [] }: AssistantListProps) {
239239 placeholder = { t ( "assistant.popover.search" ) }
240240 className = "w-full h-8 px-2 bg-transparent border rounded-md dark:border-white/10"
241241 onChange = { ( event ) => {
242- const value = event . target . value . trim ( ) ;
243-
244- setKeyword ( value ) ;
242+ setKeyword ( event . target . value ) ;
245243 } }
246244 />
247245 </ VisibleKey >
Original file line number Diff line number Diff line change @@ -253,9 +253,7 @@ export default function MCPPopover({
253253 ref = { searchInputRef }
254254 className = "size-full px-2 rounded-lg border dark:border-white/10 bg-transparent"
255255 onChange = { ( e ) => {
256- const value = e . target . value . trim ( ) ;
257-
258- setKeyword ( value ) ;
256+ setKeyword ( e . target . value ) ;
259257 } }
260258 />
261259 </ div >
Original file line number Diff line number Diff line change @@ -261,9 +261,7 @@ export default function SearchPopover({
261261 ref = { searchInputRef }
262262 className = "size-full px-2 rounded-lg border dark:border-white/10 bg-transparent"
263263 onChange = { ( e ) => {
264- const value = e . target . value . trim ( ) ;
265-
266- setKeyword ( value ) ;
264+ setKeyword ( e . target . value ) ;
267265 } }
268266 />
269267 </ div >
You can’t perform that action at this time.
0 commit comments