[SSE] Fix select data for validation
This commit is contained in:
parent
1f63b17b44
commit
96971e984e
|
@ -168,6 +168,8 @@ define([
|
|||
|
||||
this.settings.argvalues[this.settings.argindex] = val;
|
||||
this.api.asc_insertArgumentsInFormula(this.settings.argvalues);
|
||||
} else if (this.settings.type == Asc.c_oAscSelectionDialogType.DataValidation) {
|
||||
this.inputRange.setValue('=' + name);
|
||||
} else
|
||||
this.inputRange.setValue(name);
|
||||
if (this.inputRange.cmpEl.hasClass('error'))
|
||||
|
|
|
@ -321,7 +321,7 @@ define([ 'text!spreadsheeteditor/main/app/template/DataValidationDialog.templ
|
|||
win.setSettings({
|
||||
api : me.api,
|
||||
range : input.getValue(),
|
||||
type : Asc.c_oAscSelectionDialogType.Chart,
|
||||
type : Asc.c_oAscSelectionDialogType.DataValidation,
|
||||
validation: function() {return true;}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue