mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-26 02:11:59 +08:00
[SSE] Fix select data for validation
This commit is contained in:
@ -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;}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user