Your commit message

This commit is contained in:
RameshT 2024-08-09 12:29:24 +05:30
parent 1478e07d7f
commit 320830fe6c
1 changed files with 3 additions and 3 deletions

View File

@ -88,15 +88,15 @@ $(document).ready(function () {
'<input type="text" class="form-control" disabled placeholder="Short answer text">' '<input type="text" class="form-control" disabled placeholder="Short answer text">'
) )
} else if (type === 'paragraph') { } else if (type === 'paragraph') {
container.append( container.append(
'<textarea class="form-control" disabled placeholder="Paragraph text"></textarea>' '<textarea class="form-control" disabled placeholder="Paragraph text"></textarea>'
) )
} else { } else {
addOption(type, container) addOption(type, container)
$(this) $(this)
.closest('.form-section') .closest('.form-section')
.append( .append(
'<button class="btn btn-secondary add-option-btn">Add Option</button>' '<button class="btn btn-secondary add-option-btn">Add Option</button>'
) )
} }
}) })