Skip to content

New build system and a lot of minor improvements

Compare
Choose a tag to compare
@andrewtelnov andrewtelnov released this 03 Feb 13:56
· 13357 commits to master since this release
  1. Change the build system
    • Migrate from webpack v1 to v2 and as result remove gulp usage completely.
    • Migrate from typings to @types.
  2. Small API improvements
    • new survey.focusFirstQuestionAutomatic property, true by default. Make it false, if you do not want to focus the first question on the next page.
    • new placeHolder property is added into QuestionText, QuestionComment and QuestionMultipleTextItem objects. It will set the input placeholder attribute if it is not empty.
    • maxLength property is added into text validator. The validator will raise error if maxLength is more than 0 and the text length exceeds the maxLength value.
    • onAfterRenderSurvey, onAfterRenderPage and onAfterRenderQuestion events are added. There are two parameters in the options: survey/page/question objects and htmlElement, the corresponded DOM Element, for more information

All known bugs were fixed.