Hi
I have a problem with SmartSelect in React after update framework7 of 5 to 6.
before update I don’t have this problem and SmartSelect works truly but after update I have one problem that in this image you can see this problem
1 Like
I Solved this problem. I used onChange form select item and appear this error.I removed onChange and replace with on:{close:()=>{ ... }}
and solved my problem.
My code:
<ListItem title={fa.form.color_theme}
smartSelect
smartSelectParams={{
openIn: 'sheet',
closeOnSelect:true,
scrollToSelectedItem:true,
sheetCloseLinkText: [fa.close_icon],
on:{close:(e)=> {
setTheme(e.getValue())
}
}
}}
>
<select name="default_theme" defaultValue={item.default_theme} >
<option value="green">Green</option>
</select>
</ListItem>