1 | function selectOption(event) { |
2 | const _selectedOption = event.target.value; |
3 | console.log('Selected Option:', _selectedOption); |
4 | lang = _selectedOption; |
5 | current_data.update((cur) => { |
6 | return { ...cur, lang: _selectedOption }; |
7 | }); |
8 | console.log($current_data); |
9 | |
10 | } |
11 |
|
12 | ok greate here |