You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to get validation values for question type multiple_choice. When multiple selection option is set on this question type, a number of options the user must select can be set. The validation JSON retrieved from https://api.typeform.com/forms for this question type when this option is set is coming back something like this:
The values min_selection and max_selection are not defined as valid properties in the library. The Validations interface specifies having min_value and max_value properties, but no min_selection and max_selection.
Expected Behavior
The min_selection and max_selection values should be added to the Validations interface, or, if these aren't really different than the value concept, the API response could change the response to min_value and max_value like all the other question types.
Current Behavior
The properties min_selection and max_selection are not recognized by the compiler.
Steps to Reproduce
Pull client version 2.4.4 and try to use it to access the min_selection and max_selection properties.
Screenshots
Your Environment
Client Version: 2.4.4
Node.js Version: 20.17.0
NPM Version: 10.8.2
Browser Name and Version: Chrome 132.0.6834.160
Operating System and Version: Mac Sequoia 15.3
The text was updated successfully, but these errors were encountered:
Description
Unable to get validation values for question type
multiple_choice
. When multiple selection option is set on this question type, a number of options the user must select can be set. The validation JSON retrieved fromhttps://api.typeform.com/forms
for this question type when this option is set is coming back something like this:The values
min_selection
andmax_selection
are not defined as valid properties in the library. TheValidations
interface specifies havingmin_value
andmax_value
properties, but nomin_selection
andmax_selection
.Expected Behavior
The
min_selection
andmax_selection
values should be added to theValidations
interface, or, if these aren't really different than the value concept, the API response could change the response tomin_value
andmax_value
like all the other question types.Current Behavior
The properties
min_selection
andmax_selection
are not recognized by the compiler.Steps to Reproduce
Pull client version 2.4.4 and try to use it to access the
min_selection
andmax_selection
properties.Screenshots
Your Environment
The text was updated successfully, but these errors were encountered: