microsoft/iot-cardboard-js

Removing a behavior from the element form does not persist after saving

msnyder-msft opened this issue ยท 1 comments

Describe the bug
When on the element form and clicking the ... menu and then "Remove behavior from element" appears to remove the behavior but when you click "Update element", you still see the behavior on the element both in the list and if you click on the element and go back to the form again.
NOTE: removing the element from the behavior (via behavior form) will work correctly

To Reproduce
Steps to reproduce the behavior:

  1. Go to a scene with an element that has a behavior
  2. Click on the Elements list tab
  3. Click on an element which has a behavior
  4. Click the "Behaviors" tab on the element form
  5. Click the ... and select "remove behavior from element"
  6. Click "Update Element"
  7. See the "1 behavior" label in the elements list as well as the behavior if you go back into the form for the element.

Expected behavior
Should remove the behavior from the element

Screenshots
Can't remove behavior from element

๐ŸŽ‰ This issue has been resolved in version 1.0.0-beta.275 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€