Skip to content

[Feature Request] Enable extensibility of AdaptiveCard when using React wrapper #9014

@vskh

Description

@vskh

Problem Statement

AdaptiveCard JS SDK offers a way to extend the list of supported elements in the card as described here. It requires configuration of element registry and creation of serialization context that can then be used by card during parsing.

React wrapper does not provide any means to access this extensibility currently.

Proposed solution

It is straight forward to let users of React wrapper get access to this extensibility by exposing additional property for SerializationContext and then passing it down to AdaptiveCard's parse method.

Alternatives or Workarounds

Currently, the only way around I see, when in React context, is to create custom wrapper around AC JS SDK which, however, most likely would repeat most of the code of existing wrapper from adaptivecards-react.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions