Forum Discussion
dmsaprykin
Aug 08, 2022Copper Contributor
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 ...
Sayali-MSFT
Microsoft
Aug 11, 2022dmsaprykin AdaptiveCards supports client side input validation of Input types.
You can try the below input validation for the text field-
Input.Text- isRequired, regex, maxLength
Reference Doc-Input Validation - Adaptive Cards | Microsoft Docs
dmsaprykin
Aug 11, 2022Copper Contributor
Thank you, I know about these ones, but these props can't help with character count or showing disabled state on a button
- Sayali-MSFTAug 12, 2022
Microsoft
dmsaprykin-Currently suggested feature is not available in adaptive card.
Could you please help by suggesting this feature on - Microsoft Teams · CommunityThanks,
Sayali
-----------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.