-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(NOJIRA-123): update form.settings type to have all options #119
Conversation
I got the list of defaults by creating a new form using the API and inspecting the response as some of the options were not listed on the docs / had different names vs what was specified on the docs. I also reordered the options to match the API response order. Added: - are_uploads_public - autosave_progress (docs have this as `autocomplete_progress`) - free_form_navigation - hide_navigation - pro_subdomain_enabled - show_cookie_consent - show_key_hint_on_choices - show_number_of_submissions - show_question_number - show_time_to_complete - use_lead_qualification Reordered: - language - is_public - progress_bar - show_progress_bar - show_typeform_branding
Hello @gurpreetatwal thank you for the PR. It looks good, I have just one question - where did you get the "default" values from? If I am not mistaken, if the field is not present then the default value should be false. |
Hi @mathio, thank you for the quick reply! I pulled the default value from the API response after creating a new form (e.g. create a form using the API with no options set and then inspect the response from the corresponding GET request). In that sense the defaults I documented might "go too far" in that they're listing the default behavior of Typeform and not the interface specifically. Happy to change the defaults to |
Thanks. I talked to my team mates and we think an |
Sounds good! In terms of documentation which of the following should I do?
|
I think you can match the current convention. |
🎉 This PR is included in version 2.3.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
I got the list of defaults by creating a new form using the API and inspecting the response as some of the options were not listed on the docs / had different names vs what was specified on the docs.
I also reordered the options to match the API response order.
Added:
autocomplete_progress
)Reordered: