Skip to content

Commit

Permalink
B #5107: Fix boolean user inputs (#274)
Browse files Browse the repository at this point in the history
(cherry picked from commit 53300a1)
  • Loading branch information
Sergio Betanzos authored and rsmontero committed Oct 6, 2020
1 parent dad97b3 commit e2555db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sunstone/public/app/utils/user-inputs.js
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ define(function(require) {
var id = UniqueId.id();
if(value == "YES"){
input = "<br>" + Locale.tr("YES ") + "<input style='margin-right: 20px' checked type='radio' name='bool_" +id + "' value='YES'" + wizard_field + " " + required + "/>";
input += Locale.tr("NO ") + "<input type='radio' name='bool_" + id + "\" value='NO'" + wizard_field + " " + required + "/>";
input += Locale.tr("NO ") + "<input type='radio' name='bool_" + id + "' value='NO'" + wizard_field + " " + required + "/>";
} else if(value == "NO"){
input = "<br>" + Locale.tr("YES ") + "<input style='margin-right: 20px' type='radio' name='bool_" + id + "' value='YES'" + wizard_field + " " + required + "/>";
input += Locale.tr("NO ") + "<input checked type='radio' name='bool_" + id + "' value='NO'" + wizard_field + " " + required + "/>"
Expand Down

0 comments on commit e2555db

Please sign in to comment.