I was about to create a new issue but figured I'd just make a PR instead. Here was the description I was about to leave:
Describe the bug
On the PTextField input component the props, attributes, and event listeners are getting added to the root level element as opposed to the input itself.
Event though those are correctly bound to the input using v-bind and v-on, on the options api the attribute inheritAttrs isn't specified as false, and so it ends up in the root element anyways.
To Reproduce
Steps to reproduce the behavior:
Render a PTextField component and try any events other then @input, like @blur/@focus out or a [data-attr]
Inspect the DOM and observe that data attributes don't end up in the input
Observe that events other then @input don't get fired
Expected behavior
Props, attrs and listeners should get bound to the input element.
I was about to create a new issue but figured I'd just make a PR instead. Here was the description I was about to leave:
Describe the bug
On the PTextField input component the props, attributes, and event listeners are getting added to the root level element as opposed to the input itself.
Event though those are correctly bound to the input using v-bind and v-on, on the options api the attribute inheritAttrs isn't specified as false, and so it ends up in the root element anyways.
To Reproduce Steps to reproduce the behavior:
Expected behavior Props, attrs and listeners should get bound to the input element.