-
-
Notifications
You must be signed in to change notification settings - Fork 932
Open
Labels
Area: CoreFor anything dealing with Mithril core itselfFor anything dealing with Mithril core itself
Description
Is there an existing issue for this?
- I have searched the existing issues
Mithril.js Version
2.3.8
Browser and OS
Chrome 143
macOS 14.5
Project
No response
Code
https://flems.io/#0=N4IgzgpgNhDGAuEAmIBcIC2BLeALATllAHQBWYIANCAGZEQWoDaoAdgIYYRojG7wYoVELAD2rRBJ4AeMLEIAHeAAIw+WAF4AOiH7wFYVAHojAV1YKA1gHNiYjEex5CURzgJEyYHQD5pRuUV4Hy1WYUgYBCxxRhAABlQARgBmAFoEgBYAThAAX0o2Tm50Jw8ScmExCQgpdDyCkA4uHi9K8Ul4HhpzKPFlAEEFBQAKAEplYFDlZSqwFTn2RGUNCanpmdEMBXEa+FRlHQBhRJ013LW1-Ah4U3xWVfv1gDcsCAB3fbHlnwf19aubndlEw1n9phhhjpcCcqAcQAARCAYUQ6UaUUFgiEYsFwgBGpng8HEOnRjxx00mZPJ03EsCgWFglk+4w0PwWiDsm22rF2yzhx1OVJx+WxYKOXJ2EjhoumaJlyixQrFIHxhOJVHlFM161p9MZzO+qngiwgnK2kpUKyOACZBdTpiKlX9xeaeVLbSB5XKnUaTWbubyNEH+TDlAB+YHaiEAciQWCe0dJ9vWWJAiAAHsaruwSXCAGow0baos+gC6yn2IJ94OGsfjie1NZ0GazEBzsJ0eY9JeTPfJpaTYNLGPOj1Ho9CGGIyPM8GGSFEsFMXAkxFxoiQAE9KAMhqNwtA4PBoqxYgA2JIAdnqhWa6DsYAo1CqHR4eVLuSAASteps to Reproduce
Setup:
A Mithril component that renders two different textareas at the same place in the dom tree. This could be a form component that loads different forms depending on the current route.
- Modify the textarea's value.
- Click btn "Component 2".
Expected Behavior
The textarea loads the contents "V2"
Observed Behavior
The previous textarea value is shown, instead of "V2".
Context
Need a workaround where the form is padded with empty vnodes so that mithril doesn't consider the textareas being the same element.
Metadata
Metadata
Assignees
Labels
Area: CoreFor anything dealing with Mithril core itselfFor anything dealing with Mithril core itself