return $('<div />')
.addClass('form-control-static')
.attr('id', this.id(sid))
- .html(this.ucivalue(sid));
+ .html(this.ucivalue(sid) || this.label('placeholder'));
},
formvalue: function(sid)
$('<li />')
.append($('<label />')
.addClass(itype + ' inline text-muted')
- .append($('<input />')
+ .append(this.validator(sid, $('<input />')
.attr('name', itype + id)
.attr('type', itype)
.attr('value', '')
- .prop('checked', $.isEmptyObject(check)))
+ .prop('checked', $.isEmptyObject(check)), true))
.append(L.tr('unspecified')))
.appendTo(ul);
}
if (this.options.addremove !== false || this.options.sortable)
{
row.append($('<td />')
+ .css('width', '1%')
.addClass('text-right')
.append($('<div />')
.addClass('btn-group')