Forum Discussion

dmsaprykin's avatar
dmsaprykin
Copper Contributor
Aug 08, 2022

Adaptive card state

Is there a way to have a text field or Action to depend on the state of the card?

My case: I have a required text field with 300 chars maxLength. I need to show characters left count underneath and disable Action.Submit until after at least 1 character is entered. I can't find a way to do so. Action.Submit doesn't send data to the server if there's an empty required field, but it also doesn't change color to reflect disabled state.

 

Thank you!

4 Replies

Resources