fix(components): fix dropdown component id attribute to include index for uniqueness
fix(components): fix dict component id attribute to include index for uniqueness fix(components): fix code area component id attribute to include id for uniqueness fix(modals): fix edit node modal dict component id attribute to include id for uniqueness fix(modals): fix dict area modal save button data-testid attribute for testing fix(pages): fix node toolbar component class name for more options button fix(types): add id property to dropdown component type fix(types): add id property to dict component type feat(tests): add end-to-end test for dropdown component feat(tests): add end-to-end test for dict component feat(tests): add end-to-end test for node toolbar component feat(tests): add end-to-end test for nested component feat(tests): add input component test feat(tests): add toggle component test
This commit is contained in:
parent
77665da9c7
commit
ea5ddc0ed5
12 changed files with 376 additions and 18 deletions
|
|
@ -422,6 +422,7 @@ export default function ParameterComponent({
|
|||
options={data.node.template[name].options}
|
||||
onSelect={handleOnNewValue}
|
||||
value={data.node.template[name].value ?? "Choose an option"}
|
||||
id={"dropdown-" + index}
|
||||
/>
|
||||
</div>
|
||||
{data.node?.template[name].refresh && (
|
||||
|
|
@ -513,6 +514,7 @@ export default function ParameterComponent({
|
|||
data.node!.template[name].value = newValue;
|
||||
handleOnNewValue(newValue);
|
||||
}}
|
||||
id="div-dict-input"
|
||||
/>
|
||||
</div>
|
||||
) : left === true && type === "dict" ? (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue