Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
Merge pull request #29 from florianm/27-likert
Browse files Browse the repository at this point in the history
new: support select one appearance Likert
  • Loading branch information
Florian Mayer authored Mar 9, 2022
2 parents 844e66b + f430b1c commit cf3a9eb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/convert.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions spec/src/convert-question-spec.ls
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,9 @@ describe 'appearance' ->
result = { type: \inputSelectOne, appearance: 'Horizontal Layout' } |> convert-simple
expect(result.appearance).toBe(\horizontal)

result = { type: \inputSelectOne, appearance: 'Likert' } |> convert-simple
expect(result.appearance).toBe(\likert)

## from here on, we cover features not part of the xlsform spec.

# custom xpath bindings are in build but are *not* in xlsform:
Expand Down
1 change: 1 addition & 0 deletions src/convert.ls
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ appearance-conversion =
'Minimal (spinner)': \minimal
'Table': \label
'Horizontal Layout': \horizontal
'Likert': \likert

range-appearance-conversion =
'Vertical Slider': \vertical
Expand Down

0 comments on commit cf3a9eb

Please sign in to comment.