Button id in input_values

#1

Somehow, when I click the button, I can’t see the button’s id value in input_values. Am I missing some points or something is changed?

0 Likes

#2

Hey @volkan :wave:

The button’s id will not be in input_values - it’s under component_id which will be shown outside of input_value in the context object. Input values come from the components which can actually have a value submitted. For example, a button could have a submit action which would submit all input elements in the card, but the actual values are not the button - they are instead the values that the button has submitted from other components.

Does that make sense? More on what parameters are passed with buttons here, and the format of the submit flow object we send to you here.

1 Like

#3

I see, was it changed in the version of 0.2? I remember I was getting the id in input_values?

Thanks.

0 Likes