Hello, i have a component conditionblockcomponent, with contains 4 inputs: But this doesn't work as it's returning error: See the discussion here and.
I've included the textfield example to showcase that it works. The given element does not have a value setter. To fix the “the given element does not have a value setter” error, you can either use a different property to set the value of the element, or you can cast the element to a different type of.
I'm testing this component with jest and react testing. Isn't the element uses e.target.value on it's onchange attribute? When i use the type() function on an element with contenteditable==true, then the following error occurs in. The given element does not have a value setter.
And the prototype has the same issue. I've also tried to set an inputprops to the menu. The given element does not have a value setter at setnativevalue and later i can't find out how to grab that validation. The error message “the given element does not have a value setter” suggests that the element you’re trying to change using fireevent.change does not support the change.
The given element does not have a value setter error: In the example i'm getting an error that seems to indicate that the textarea does not have a property descriptor for value.