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:
parent
d7f99e7ce0
commit
596a219de3
8 changed files with 19 additions and 25 deletions
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue