microsoft / AdaptiveCards

A new way for developers to exchange card content in a common and consistent way.
https://adaptivecards.io
MIT License
1.75k stars 550 forks source link

Input.Text masking/password support #4673

Open productboard-ac opened 4 years ago

productboard-ac commented 4 years ago

Description

Please see #1443 for previous user comments on this request.

Schema/Spec

Requirements

  1. ~Need to evaluate the implementation using secure strings~

  2. ~Security concerns about submitting the data is plain-text~ Call out in documentation that this is not cryptographically secure

  3. If the underlying control supports the 'Show Password' button, it should be on; otherwise, no requirement for this

  4. When style is set to password, the multiline property should be ignored.

  5. Validation should run on the password

Examples

{
   "type": "Input.Text",
   "id": "secretThing",
   "style": "password"
}

Host Config

Back-compat

Tracking Issues

ghost commented 4 years ago

ProductBoard auto-generated feature.

productboard-ac commented 4 years ago

Link to feature: https://adaptivecards.productboard.com/feature-board/planning/features/5470692

matthidinger commented 4 years ago

When we design this full feature please refer to #1443 for previous user comments.

yingying96 commented 2 years ago

Love this feature! Would it be included in v1.3 for adaptive cards? Our bot composer framework still requires v1.3 :(

OliverZ commented 2 years ago

Please implement text masking finally