Hi,
I have input cell inside au-table plugin. Idea is that for boolean and number values, I show input type number and for string values I show input type text
<tbody>
<tr repeat.for="row of displayData">
<td>
<div class="table-cell">
<!-- boolean value -->
<input if.bind="row.valueType === 1" type="number" min="0" max="1" value.bind="row.value"/>
<!-- nubmer value -->
<input if.bind="row.valueType === 2" type="number" value.bind="row.value" />
<!-- string value -->
<input if.bind="row.valueType === 3" type="text" value.bind="row.value" />
</div>
</td>
</tr>
</tbody>
If I do this and bind existing string values to the input fields, I get lots of “cannot be parsed, or is out of range” messages. Number values work fine.
If I use only input type text. Everything works but I cannot limit number values.
It seems like it has last iterations input type number and tries to bind value before changing input type.
While writing this, I came up some other workarounds that I could try.
But any help or ideas area appreciated