Open bastiW opened 6 days ago
Yes
https://mitosis.builder.io/playground/?outputTab=G4VwpkA%3D&code=JYWwDg9gTgLgBAbzgVwM4FMDKMCGN1wC%2BcAZlBCHAEQACARssADYAm6UAdMBAPQjAwIqYKioBuAFAT0AD0iw4bEjmRN4JZADsAxjG6a4AWQCeAYQqRN6TTAAUYcmFQBKRBLhxtETangBtTRwQdAAaOAwYADkg9ABdOABeFAxsPHRbKmx0ADd0KmdJdzgodBhkKANbIo8AHhZgbIA%2Bao84GuBNMGQYFtbPVFQEhARevs8IJmgALmoSlioQ0Y9CQiW4bJwmZHQhwODVsdbvAElO7qHbHOsYVwTG8NLo4Mvcmw5cKABzUo4NrfRnAdDnBvKYABY4TTfC5XGy3e4RJ7pWEwd44L4%2FP7bQGjHjNQ4ACXQTEmAEI4MdPJDilo4B04AAldA4XRhABq2zCmAmwBYYWgcAAMsAAI6MFiklo1Hj1JpFAoSQhAA
When both onInput and onChange events are present on HTMLInputElement, they should be both properly mapped to the correct change event
is always compiled to the input event.
Follow up of https://github.com/BuilderIO/mitosis/issues/1263
I am interested in helping provide a fix!
Yes
Which generators are impacted?
Reproduction case
https://mitosis.builder.io/playground/?outputTab=G4VwpkA%3D&code=JYWwDg9gTgLgBAbzgVwM4FMDKMCGN1wC%2BcAZlBCHAEQACARssADYAm6UAdMBAPQjAwIqYKioBuAFAT0AD0iw4bEjmRN4JZADsAxjG6a4AWQCeAYQqRN6TTAAUYcmFQBKRBLhxtETangBtTRwQdAAaOAwYADkg9ABdOABeFAxsPHRbKmx0ADd0KmdJdzgodBhkKANbIo8AHhZgbIA%2Bao84GuBNMGQYFtbPVFQEhARevs8IJmgALmoSlioQ0Y9CQiW4bJwmZHQhwODVsdbvAElO7qHbHOsYVwTG8NLo4Mvcmw5cKABzUo4NrfRnAdDnBvKYABY4TTfC5XGy3e4RJ7pWEwd44L4%2FP7bQGjHjNQ4ACXQTEmAEI4MdPJDilo4B04AAldA4XRhABq2zCmAmwBYYWgcAAMsAAI6MFiklo1Hj1JpFAoSQhAA
Expected Behaviour
When both onInput and onChange events are present on HTMLInputElement, they should be both properly mapped to the correct change event
Actual Behaviour
is always compiled to the input event.
Additional Information
Follow up of https://github.com/BuilderIO/mitosis/issues/1263