無線入力を使用したデータバインディングの次のコードが機能しません。
<!DOCTYPE html>
<html>
<body>
<div>
<input type="radio" name='veggies' value="kale" bind-value={{name}}>Kale<br>
<input type="radio" name='veggies' value="spinach" bind-value={{name}}>Spinach<br>
<input type="radio" name='veggies' value="carrots" bind-value={{name}}>Carrots
</div>
<p>name = {{name}}</p>
<script type="application/dart">
import 'package:web_ui/web_ui.dart';
@observable
String name = "Carrots";
void main() {}
</script>
</body>
</html>
ファイルは radio_binding.html です。
このファイルをビルドすると、out/radio_binding.html.dart ファイルでエラーが発生します。
Error: line 42 pos 46: semicolon expected
__t.listen(__e0.onChange, ($event) { {{name}} = 'kale'; });
これはバグですか、それとも何か間違っていますか?