Velo API Reference Bug Fixes (May 2021)

Release Notes

We fixed or updated APIs in the following areas: Editor Elements ($w) and Data.
We just updated the API Reference to fix a few bugs. Here’s the list of recent changes.
To see every change in the API Reference, visit the Release Notes page.

We love hearing your feedback!
Lots of our bugs come from users like you and you can help us improve the docs by reporting them to us. You can report bugs and other feedback through these links found at the bottom of each page of our docs.


Editor Elements ($w)
Show and Hide
effectOptions are optional for show and hide functions.
Fixed : We updated the show and hide functions to indicate that the effectOptions are optional.

uploadButton
The size property of the File object for UploadButton is Number.
Fixed : We changed the type of the size property of the object that is returned by the value property from string to number.

richTextBox
onInput is not supported for richTextBox.
Fixed : We removed a tip to use onInput to get the value of the latest keyboard event for a richTextBox.


wix-data
afterUpdate
afterUpdate supports the currentItem property.
Fixed : We added back information that the afterUpdate hook supports the currentItem property in the updateHookContext parameter.

isReferenced
isReferenced supports the wixDataOptions parameter.
Fixed : We added information that isReferenced supports the wixDataOptions parameter, which enables suppressAuth and suppressHooks.

queryReferenced
queryReferenced options parameter is listed as optional.
Fixed : The options parameter of queryReferenced() was mistakenly listed as required. We fixed it to be optional.

1 Like