How can i change color of the border of container when i click this container?

I want to change there color from green to yellow color when i click this container. I tried to by using Set component style flow function. Could u help, please, how to correctly write formula there, that will change color of the border when i click?

Check out this tutorial: Especially the part in the end where events are used fits your use case. You could use onFocus and onBlur events to achieve what you need.

Note: Tutorial uses primitive Input and you’re using Input field which is a Composite component. You might want to change to a primitive in this case or expose the inner events to top level of the Input field from Isolation view.