Skip to content

Commit

Permalink
Fixed integerOnly flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Stevenic committed Apr 21, 2017
1 parent 2d44e69 commit ba5ed44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Node/demo-RollerSkill/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,14 @@ bot.dialog('CreateGameDialog', [
* - We can use gettext() to format a string using a template stored in our
* localized prompts file.
* - The number prompt lets us pass additional options to say we only want
* intergers back and what's the min & max value that's allowed.
* integers back and what's the min & max value that's allowed.
*/
var prompt = session.gettext('choose_count', game.sides);
builder.Prompts.number(session, prompt, {
speak: speak(session, 'choose_count_ssml'),
minValue: 1,
maxValue: 100,
intergerOnly: true
integerOnly: true
});
},
function (session, results) {
Expand Down

0 comments on commit ba5ed44

Please sign in to comment.