Commit b69eed8d authored by Hannes Warnestad's avatar Hannes Warnestad
Browse files

come on

parent 2dce9ccf
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -15,7 +15,7 @@
<body>
<h1>&Aring</h1>
<form-5></form-5>
<form-1></form-1>
<!-- <h1>Form2</h1>
<form-2></form-2>
<h1>Form3</h1>
......
//Replace content with actual api request
const dataService = {
form11: new Promise(resolve => resolve({
xNames: ["Bil", "B&aring;t", "Cykel", "Buss", "Sam&aring;kning", "Promenad"],
xNames: ["Bil", "Cykel", "Buss", "Promenad","Sam&aring;kning", "B&aring;t",],
data: "form11"
}
)),
......
const filterServiceData = {
form11: new Promise(resolve => resolve([
{ value: 0, label: "Bil" },
{ value: 1, label: "Cykel" },
{ value: 1, label: "B&aring;t" },
{ value: 2, label: "Buss" },
{ value: 3, label: "Promenad" },
{ value: 3, label: "Cykel" },
{ value: 4, label: "Sam&aring;kning" },
{ value: 5, label: "B&amp;Aringt" }
{ value: 5, label: "Promenad" }
]
)),
form12: new Promise(resolve => resolve([
......
......@@ -79,12 +79,12 @@ class formBase extends WC {
})
if (!cont)
window.alert("Alla fr&aring;gor &auml;r inte ifyllda. Var god fyll i alla.")
window.alert("Allt är inte ifyllt. Var god fyll i alla.")
else {
selectedIndexes.forEach(res => {
writeToServer(res);
})
window.alert("Dina fr&aring;gor &auml;r nu skickade!")
window.alert("Dina svar skickades in! Du kan nu stänga sidan")
}
......
No preview for this file type
#Generated by Maven
#Tue Nov 24 11:32:02 CET 2020
#Tue Nov 24 11:55:04 CET 2020
groupId=com.rplp.forms
artifactId=rplp-forms
version=1.0.0
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment