This only works when writing <input name="id"> directly, as it's a compile time check only. If the name is in an assign, it won't warn because we don't know the value of the assign until runtime (correct me if I'm wrong).
Maybe we should add a warning in the LiveView JS, like the duplicate ID warning.
This only works when writing
<input name="id">
directly, as it's a compile time check only. If the name is in an assign, it won't warn because we don't know the value of the assign until runtime (correct me if I'm wrong).Maybe we should add a warning in the LiveView JS, like the duplicate ID warning.
@josevalim