This commit is contained in:
Mirco Wittrien 2020-01-27 10:32:22 +01:00
parent dba9026418
commit 4c642acd6a
2 changed files with 8 additions and 6 deletions

View File

@ -8218,11 +8218,13 @@
maxLength: this.props.type == "file" ? false : this.props.maxLength,
ref: this.props.inputRef
}), "errorMessage", "focused", "error", "success", "inputClassName", "inputPrefix", "size", "editable", "inputRef", "style", "mode", "filter", "useFilepath")),
this.props.type == "color" ? BDFDB.ReactUtils.createElement(LibraryComponents.ColorSwatches, {
colors: [],
compMode: this.props.mode == "comp",
color: this.props.value && this.props.mode == "comp" ? BDFDB.ColorUtils.convert(this.props.value.split(","), "RGB") : this.props.value,
pickerConfig: {gradient:false, alpha:this.props.mode != "comp"}
this.props.type == "color" ? BDFDB.ReactUtils.createElement(LibraryComponents.Flex.Child, {
children: BDFDB.ReactUtils.createElement(LibraryComponents.ColorSwatches, {
colors: [],
compMode: this.props.mode == "comp",
color: this.props.value && this.props.mode == "comp" ? BDFDB.ColorUtils.convert(this.props.value.split(","), "RGB") : this.props.value,
pickerConfig: {gradient:false, alpha:this.props.mode != "comp"}
})
}) : null,
this.props.type == "file" ? BDFDB.ReactUtils.createElement(LibraryComponents.FileButton, {
filter: this.props.filter,

File diff suppressed because one or more lines are too long