-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
The r-select component seems to have some issues with change events (tried both :change and onchange), although onclick events do work.
Example:
<script src="https://unpkg.com/@iooxa/article"></script>
<link rel="stylesheet" href="https://unpkg.com/@iooxa/article/dist/iooxa.css">
<r-var name="x" value="A" type="String"></r-var>
<r-select bind="x" values="A,B,C,D" onchange="myAlert()"></r-select>selected: <r-display :value="x"></r-display>
<select onchange="myAlert()">
<option value="A">A</option>
<option value="B">B</option>
<option value="C">C</option>
<option value="D">D</option>
</select>
<script>
function myAlert() {
alert('Just a useless alert to debug');
}
</script>
In the example above, the alert will display on value selection with the HTML select but not with the r-select.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels