fix: add overflow to table dropdown selection, removed Multiple selector from Structured Output (#8027)

* Fixed not being able to edit options because of overflow in Table Node Cell Editor

* Updated structured output to not have Multiple selection since it's enabled by default
This commit is contained in:
Lucas Oliveira 2025-05-13 18:25:01 -03:00 • committed by GitHub
commit 596a219de3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 19 additions and 25 deletions

View file

@ -6,9 +6,13 @@ export default function TableDropdownCellEditor({
values,
onValueChange,
colDef,
eGridCell,
}: CustomCellEditorProps & { values: string[] }) {
return (
<div className="flex h-full items-center px-2">
<div
style={{ width: eGridCell.clientWidth }}
className="flex h-full items-center px-2"
>
<InputComponent
setSelectedOption={(value) => onValueChange(value)}
value={value}

View file

@ -589,7 +589,7 @@ export function FormatColumns(columns: ColumnField[]): ColDef<any>[] {
) {
if (col.options && col.formatter === FormatterType.text) {
newCol.cellEditor = TableDropdownCellEditor;
newCol.cellEditorPopup = false;
newCol.cellEditorPopup = true;
newCol.cellEditorParams = {
values: col.options,
};