File tree Expand file tree Collapse file tree 1 file changed +15
-8
lines changed
packages/webui/src/client/ui/Settings/Studio/PackageManager Expand file tree Collapse file tree 1 file changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -411,14 +411,21 @@ export function AccessorTableRow({
411
411
itemKey = { `container.accessors.${ accessorId } .ISAUrls` }
412
412
overrideHelper = { overrideHelper }
413
413
>
414
- { ( value , handleUpdate ) => (
415
- < TextInputControl
416
- modifiedClassName = "bghl"
417
- classNames = "input text-input input-l"
418
- value = { value }
419
- handleUpdate = { handleUpdate }
420
- />
421
- ) }
414
+ { ( value , handleUpdate ) => {
415
+ // Convert array of strings into comma-separated string for the input:
416
+ const strValue = Array . isArray ( value ) ? value . join ( ', ' ) : value
417
+ return (
418
+ < TextInputControl
419
+ modifiedClassName = "bghl"
420
+ classNames = "input text-input input-l"
421
+ value = { strValue }
422
+ handleUpdate = { ( value : string ) => {
423
+ // Convert comma-separated string into array of strings
424
+ handleUpdate ( value . split ( ',' ) . map ( ( s ) => s . trim ( ) ) )
425
+ } }
426
+ />
427
+ )
428
+ } }
422
429
</ LabelAndOverrides >
423
430
< LabelAndOverrides
424
431
label = { t ( 'Quantel Zone ID' ) }
You can’t perform that action at this time.
0 commit comments