You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you create a Vizy field with a custom block where the Link Field is used in the custom block, you can drag/drop the block higher in the Vizy layout, however, when you drag the block lower in the layout, the Link field loses focus.
This seems to be because when moving the block higher in the layout, the LinkField.js::init method is not fired and when moving it down the init method is fired. Due to the way LinkField currently stores the field data, the dropdown for the LinkType field never appears to get 'selected' attribute added in the HTML, and the js logic uses this.$typeSelect.val() to retrieve the dropdown value and that code returns null when the 'selected' attribute is missing.
link-field-loses-selection.mp4
The text was updated successfully, but these errors were encountered:
If you create a Vizy field with a custom block where the Link Field is used in the custom block, you can drag/drop the block higher in the Vizy layout, however, when you drag the block lower in the layout, the Link field loses focus.
This seems to be because when moving the block higher in the layout, the LinkField.js::init method is not fired and when moving it down the init method is fired. Due to the way LinkField currently stores the field data, the dropdown for the LinkType field never appears to get 'selected' attribute added in the HTML, and the js logic uses
this.$typeSelect.val()
to retrieve the dropdown value and that code returns null when the 'selected' attribute is missing.link-field-loses-selection.mp4
The text was updated successfully, but these errors were encountered: