Openui5: SmartForm & SmartFields: ValueState is not reset when editable property is changed

Created on 26 Jul 2019  路  1Comment  路  Source: SAP/openui5

OpenUI5 version: 1.67 and may be even exists in older versions

Browser/version (+device/version): Google Chrome

Any other tested browsers/devices(OK/FAIL): FAIL

URL (minimal example if possible):
https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smartform.SmartForm/sample/sap.ui.comp.sample.smartform

User/password (if required and possible - do not post any confidential information here):

Steps to reproduce the problem:

  1. Change the smart form to Editable mode
  2. Change the price to 'asdf' which is an Invalid value and thus the value state of input field changes to Error
  3. Change back to display mode and now again switch to Editable mode

What is the expected result?
The value state of all the fields inside a SmartForm should be changed to None when editable is toggled.

What happens instead?
The value state of Price is still Error with old error message even though the value is correct (coming from binding)

Any other information? (attach screenshot if possible)
https://drive.google.com/file/d/1AL_8ZE2vUzAUQnnmwxQC5UUxz2MeYAWq/view

bug in progress

Most helpful comment

Hello @ekansh005 ,

Thank you for sharing this finding. I've created an internal incident 1970383565. The status of the issue will be updated here in GitHub.

Regards,
Gery

>All comments

Hello @ekansh005 ,

Thank you for sharing this finding. I've created an internal incident 1970383565. The status of the issue will be updated here in GitHub.

Regards,
Gery

Was this page helpful?
0 / 5 - 0 ratings