diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index 68b28191d4..b16bc6c02e 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -2,7 +2,7 @@ * @name BDFDB * @author DevilBro * @authorId 278543574059057154 - * @version 3.4.6 + * @version 3.4.7 * @description Required Library for DevilBro's Plugins * @invite Jx3TjNS * @donate https://www.paypal.me/MircoWittrien @@ -6989,7 +6989,9 @@ module.exports = (_ => { autoFocus: this.props.autoFocus ? this.props.autoFocus : false, maxVisibleItems: this.props.maxVisibleItems || 7, renderOptionLabel: this.props.optionRenderer, - onChange: this.handleChange.bind(this) + select: this.handleChange.bind(this), + serialize: typeof this.props.serialize == "function" ? this.props.serialize : _ => {}, + isSelected: typeof this.props.isSelected == "function" ? this.props.isSelected : (value => this.props.value == value) }), "inputClassName", "optionRenderer")) }); } diff --git a/Library/_res/0BDFDB.data.json b/Library/_res/0BDFDB.data.json index c24063f37b..1c09b8e4a1 100644 --- a/Library/_res/0BDFDB.data.json +++ b/Library/_res/0BDFDB.data.json @@ -279,7 +279,7 @@ "PopoutContainer": {"props": ["Animation", "defaultProps"]}, "RadioGroup": {"strings": ["itemInfoClassName", "hasSelection", ".radioItemIconClassName"]}, "SearchBar": {"strings": ["this.inputRef", ".containerRef", ".handleOnChange"]}, - "SearchableSelect": {"strings": ["serialize", "haspopup", ".maxVisibleItems"]}, + "SearchableSelect": {"strings": ["serialize", "haspopup", "maxVisibleItems"]}, "Slider": {"strings": [".stickToMarkers", "sortedMarkers"]}, "TabBar": {"props": ["Item", "Header", "Panel"]}, "Table": {"props": ["SortDirection", "defaultProps"]},