#16: Fixed recursion and autocomplete
This commit is contained in:
@@ -3069,7 +3069,7 @@ const AngularWorkflow = (props) => {
|
||||
</div>
|
||||
}
|
||||
parentMenuOpen={!!menuPosition}
|
||||
style={{backgroundColor: inputColor, color: "white"}}
|
||||
style={{backgroundColor: inputColor, color: "white", minWidth: 250,}}
|
||||
onClick={() => {
|
||||
handleItemClick([innerdata])
|
||||
}}
|
||||
@@ -3078,7 +3078,7 @@ const AngularWorkflow = (props) => {
|
||||
// FIXME: Should be recursive in here
|
||||
const icon = pathdata.type === "value" ? <VpnKeyIcon style={iconStyle} /> : pathdata.type === "list" ? <FormatListNumberedIcon style={iconStyle} /> : <ExpandMoreIcon style={iconStyle} />
|
||||
return (
|
||||
<MenuItem key={pathdata.name} style={{backgroundColor: inputColor, color: "white"}} value={pathdata} onMouseOver={() => {}}
|
||||
<MenuItem key={pathdata.name} style={{backgroundColor: inputColor, color: "white", minWidth: 250,}} value={pathdata} onMouseOver={() => {}}
|
||||
onClick={() => {
|
||||
handleItemClick([innerdata, pathdata])
|
||||
}}
|
||||
|
||||
@@ -67,7 +67,7 @@ export const GetParsedPaths = (inputdata, basekey) => {
|
||||
return parsedValues
|
||||
}
|
||||
|
||||
console.log("KEY: ", key, "VALUE: ", value, "BASEKEY: ", basekeyname)
|
||||
//console.log("KEY: ", key, "VALUE: ", value, "BASEKEY: ", basekeyname)
|
||||
if (typeof(value) === 'object') {
|
||||
if (Array.isArray(value)) {
|
||||
// Check if each item is object
|
||||
|
||||
Reference in New Issue
Block a user