mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
fix:Form properties, no option for selecting submit button.
This commit is contained in:
parent
9493cdbbbe
commit
63e28931b0
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ export const Form = ({
|
|||
const { id } = component;
|
||||
const newOptions = [{ name: 'None', value: 'none' }];
|
||||
Object.entries(allComponents).forEach(([componentId, component]) => {
|
||||
if (component.parent === id && component?.component?.component === 'Button') {
|
||||
if (component.component.parent === id && component?.component?.component === 'Button') {
|
||||
newOptions.push({ name: component.component.name, value: componentId });
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue