Skip to content

Commit

Permalink
fixed display of value when swipping back
Browse files Browse the repository at this point in the history
  • Loading branch information
mofya1 committed Mar 27, 2020
1 parent f0ae342 commit a0f5590
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
Binary file modified extras/example-form/Example form - slider.xlsx
Binary file not shown.
Binary file modified slider.fieldplugin.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion source/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name" : "Slider Without Labels",
"author" : "Dobility",
"version": "1.39",
"version": "1.40",
"supportedFieldTypes": ["integer", "decimal"],
"hideDefaultRequiredMessage": false,
"hideDefaultConstraintMessage": false
Expand Down
3 changes: 3 additions & 0 deletions source/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,8 @@ input.oninput = function() {
}

if (current_value != null){
if (parameters[3]!= null) {
slider.innerHTML = current_value;
}
input.value = current_value;
}
2 changes: 1 addition & 1 deletion source/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/* The slider itself */
.slider {
-webkit-appearance: none; /* Override default CSS styles */
width: 100%; /* Full-width */
width: 95%; /* Full-width */
height: 10px; /* Specified height */
border-radius: 5px;
background: #d3d3d3; /* Grey background */
Expand Down

0 comments on commit a0f5590

Please sign in to comment.