You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Migrate PickerItem from Class to a Function component
* Use context to communicate Picker current value with Picker Items
* Fix issue with multi select mode when using the new Picker API
* use useMeme for PickerItem selectedIndicator
* pass missing dependency in PickerItem
* Fix default selectedIconColor in PickerItem
* Fix lint issue
* Fix order of things in PickerItem
* Use LogService for deprecation warnings
accessibilityHint: 'Double click to select this suggestion',
38
+
...Modifiers.extractAccessibilityProps(props)
39
+
};
31
40
32
41
useEffect(()=>{
33
42
if(_.isPlainObject(value)){
34
-
console.warn('UILib Picker.Item will stop supporting passing object as value & label (e.g {value, label}) in the next major version. Please pass separate label and value props');
43
+
LogService.warn('UILib Picker.Item will stop supporting passing object as value & label (e.g {value, label}) in the next major version. Please pass separate label and value props');
35
44
}
36
45
},[value]);
37
46
38
-
// TODO: deprecate the check for object
39
-
const_onPress=useCallback(()=>{
40
-
// onPress(_.isObject(value) ? value : {value, label});
0 commit comments