AdaptiveCards icon indicating copy to clipboard operation
AdaptiveCards copied to clipboard

"value" property of Input.Time and Input.Data not working

Open sandeepnmenon opened this issue 9 years ago • 9 comments

The value property in Input.Time and Input.Data which sets the initial value of the field is not setting the initial value. { "type": "Input.Date", "id": "onDate", "value":"03/21/1996", "title": "Select due date" } This does not set the initial value

sandeepnmenon avatar May 30 '17 11:05 sandeepnmenon

Hey @gitmenonsandu, which renderer is this? HTML, UWP, Android, or iOS?

andrewleader avatar May 30 '17 21:05 andrewleader

@gitmenonsandu If you are talking about the html renderer, this pull fixes it for the date input: https://github.com/Microsoft/AdaptiveCards/pull/343

dsanvita avatar May 30 '17 23:05 dsanvita

@anbare HTML renderer

sandeepnmenon avatar Jun 03 '17 19:06 sandeepnmenon

I have fixed both a few days ago.

dclaux avatar Jun 03 '17 19:06 dclaux

@dclaux having similar issues in the botframework-emulator where default values for Input.Time and Input.Date are not being populated in the UI (aka emulator). Any ideas?

user1m avatar Jun 29 '17 14:06 user1m

@User1m , it might be that the emulator isn't updated with the latest version of the library, or you didn't update your adaptive cards npm package. Can you check?

dclaux avatar Jun 29 '17 15:06 dclaux

@dclaux I'm using C# sdk / nuget package and I manually built the botframework-emulator app from source and made sure the adaptive cards npm package was included, still not working :/

user1m avatar Jun 30 '17 23:06 user1m

Ah - this issue was opened for the HTML renderer. Not sure about the C# one.

dclaux avatar Jul 01 '17 01:07 dclaux

@User1m I'm preparing a fix for the c# sdk.

zhusongm avatar Aug 16 '17 21:08 zhusongm