react-native-dropdown-picker error – "onChange is not an function (In onChange(value), onChange is undefined"

Advertisements Im trying to use DropDownPicker from react-native-dropdown-picker with Controllers from react-hook-form. Any ideas how to fix it? Problematic part with error code <Controller control={control} defaultValue={"Choose gender…"} name="gender" rules={{ required: true }} render={({ onChange, value, name, ref }) => ( <DropDownPicker placeholder="Select your gender" open={listOpen} setOpen={itemValue => setListOpen(itemValue)} items={listData} value={value} setValue={value => onChange(value)} /> )}… Read More react-native-dropdown-picker error – "onChange is not an function (In onChange(value), onChange is undefined"

Blank status bar icons appearing on top after suspend/resume in Ubuntu 21.10

Advertisements After I suspend and resume my laptop (ThinkPad P52s) running Ubuntu 21.10, blank spots appear next to the AppIndicators on the left side of the screen. These blank spots grow in number every time I suspend/resume, but go away after a reboot. If I hover over them, they have a circular highlight, but clicking… Read More Blank status bar icons appearing on top after suspend/resume in Ubuntu 21.10