File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 6464 * can be either a raw HTML string or a render function
6565 * if passing a render function, it needs to have ` h ` as the first argument, eg.:
6666
67- ``` js
67+ ``` js
6868 content : function (h ) {
6969 return < div> ... < / div>
7070 }
71- ```
71+ ```
7272 * ` required` - is field required or not (true / false - default is false )
7373 * turn on/ off the ` required` asterisk next to the question in vue- form/ src/ assets/ css/ common .css :
74-
75- ` ` ` css
74+
75+ ` ` ` css
7676 .f-required {
7777 display: inline; /* or display: none; to turn off */
7878 }
79- ` ` `
79+ ` ` `
8080 * ` options` - ` ChoiceOption` array (used only with Dropdown and MultipleChoice)
8181 * ` ChoiceOption` must have a ` label` defined (this is what will be shown to the user)
8282 * if ` value` is not defined, ` label` will be used
116116* ` submit` - when the default "submit" button is clicked - if you override the default ` completeButton` slot, this event won't be called
117117(example in Example.vue)
118118
119- ` ` ` js
120- function onSubmit (questionList ) {
121- // Handle submit event.
122- }
123- ` ` `
119+ ` ` ` js
120+ function onSubmit (questionList ) {
121+ // Handle submit event.
122+ }
123+ ` ` `
124124
125125## Survey component slots:
126126
You can’t perform that action at this time.
0 commit comments