Open zeroedin opened 5 years ago
options.verifyLabel should create a <label> tag referencing the <input>. The input will need also need a id attribute as well.
options.verifyLabel
<label>
<input>
id
var verification = $('<input/>', {"type": 'text', "id": "confirm", "class": settings.verifyClass}).on('keyup', function () { commit.prop('disabled', !isMatch($(this).val())); }); ... if (options.verifyLabel) body.append($('<label>', {text: options.verifyLabel, for: 'confirm' }))
options.verifyLabel
should create a<label>
tag referencing the<input>
. The input will need also need aid
attribute as well.