fix prompt
This commit is contained in:
parent
3e990981fe
commit
9c39340c96
1 changed files with 6 additions and 1 deletions
|
@ -2,8 +2,13 @@ define(['dialogHelper', 'layoutManager', 'scrollHelper', 'globalize', 'require',
|
|||
|
||||
function setInputProperties(dlg, options) {
|
||||
var txtInput = dlg.querySelector('#txtInput');
|
||||
|
||||
if (txtInput.label) {
|
||||
txtInput.label(options.label || '');
|
||||
} else {
|
||||
txtInput.setAttribute('label', options.label || '');
|
||||
}
|
||||
txtInput.value = options.value || '';
|
||||
txtInput.label(options.label || '');
|
||||
}
|
||||
|
||||
function showDialog(options, template) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue