ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

clear input with vuejs not working

Open mehdijouan opened this issue 7 years ago • 3 comments

Describe the bug Hello,

If I have a ui5-input with a binded value and that I set it to an empty string, nothing happens... But if I set it with any other value, it is reflected in the input

To reproduce

  1. Go to this code sandbox
  2. change the input value => the text is updated correctly
  3. click on clear => only the text is removed, the input still have the old value
  4. click on say Hy => both the text and the input text are updated correctly

Expected behavior Setting a binded value to an empty string should update the input text to this value.

Context

  • UI5 Web Components version
  • OS/Platform: mac
  • Navigator: Chrome Version 75.0.3770.80 (Official Build) (64-bit)
  • framework: vuejs

Affected components

  • input
  • textArea

mehdijouan avatar Jun 12 '19 22:06 mehdijouan

Thanks for this quick fix! When could I expect a release containing the fix?

mehdijouan avatar Jun 13 '19 16:06 mehdijouan

I personally would like to have this ASAP as I consider it as a major issue. I will update you for a concrete date tomorrow. I believe we can get a minor version in a few days.

MapTo0 avatar Jun 13 '19 16:06 MapTo0

We will try to have this fix released next week (hopefully Monday or Tuesday).

MapTo0 avatar Jun 14 '19 11:06 MapTo0