Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expand button #1704 #1278

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

expand button #1704 #1278

wants to merge 1 commit into from

Conversation

rhithesh
Copy link

@rhithesh rhithesh commented Nov 25, 2023

@frikky please look into the changes and help me where I have gone wrong.
#1074

@rhithesh rhithesh marked this pull request as draft November 25, 2023 08:10
},
}}
fullWidth
disableUnderline: true,
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the expand icon code is here

const data =workflow.triggers[selectedTriggerIndex].parameters[0]
console.log(data)

console.log(selectedAction ,"let us see if this works")
Copy link
Author

@rhithesh rhithesh Nov 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the state change of the code editor. setEditordata

disabled={
workflow.triggers[selectedTriggerIndex].status === "running"
}
defaultValue={
workflow.triggers[selectedTriggerIndex].parameters === undefined ? "" : workflow.triggers[selectedTriggerIndex].parameters[0].value
workflow.triggers[selectedTriggerIndex].parameters === undefined ? "" : workflow.triggers[selectedTriggerIndex].parameters[0].value //the error might be here
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this default value is not getting updated

@@ -17603,6 +17642,19 @@ const AngularWorkflow = (defaultprops) => {
</div>

const changeActionParameterCodeMirror = (event, count, data, actionlist) => {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when Submit button is hit on the code Editor this function is called as you can see I am trying to update the state of workflow. Even though the state has been updated it is not being reflected. though after you save and refresh the state has been modified.

also selectedAction appears to be empty.

@rhithesh rhithesh changed the title expand button expand button #1704 Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

None yet

1 participant