Skip to content

Commit

Permalink
Added filters in the choices set (#148)
Browse files Browse the repository at this point in the history
* This new feature allows the user to write in the component to filter the options from the chatbot

* Removed 'filtered' style in the patient card
   This style was removed for this card because it does not show the kinship type on mobile devices, this may be due to the 
   full name being too long.
  • Loading branch information
MrDave1999 authored Jan 29, 2023
1 parent 5d73a2d commit 461091e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/Features/Chatbot/AdaptiveCards/DentalServiceCard.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.3",
"version": "1.5",
"body": [
{
"type": "TextBlock",
Expand All @@ -13,6 +13,7 @@
{
"type": "Input.ChoiceSet",
"choices": [],
"style": "filtered",
"isRequired": true,
"separator": true,
"id": "dentalServiceId",
Expand Down
3 changes: 2 additions & 1 deletion src/Features/Chatbot/AdaptiveCards/DentistCard.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.3",
"version": "1.5",
"body": [
{
"type": "TextBlock",
Expand All @@ -13,6 +13,7 @@
{
"type": "Input.ChoiceSet",
"choices": [],
"style": "filtered",
"isRequired": true,
"separator": true,
"id": "dentistId",
Expand Down
3 changes: 2 additions & 1 deletion src/Features/Chatbot/AdaptiveCards/OfficeCard.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.3",
"version": "1.5",
"body": [
{
"type": "TextBlock",
Expand All @@ -13,6 +13,7 @@
{
"type": "Input.ChoiceSet",
"choices": [],
"style": "filtered",
"isRequired": true,
"separator": true,
"id": "officeId",
Expand Down

0 comments on commit 461091e

Please sign in to comment.