API Fixes: Editor Elements ($w), Bookings, Window, and Location
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!
Lot’s 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 our docs.
Editor Elements ($w)
maxLength (TextInput)
The instructions to remove the maximum length restriction incorrectly stated to set maxLength to 0.
Fixed: maxLength should be set to null or undefined.
We listed the supported styles and formats for text type elements but did not explain how to use them.
Fixed: We clarified that you can format the text using the html property.
UploadButton (reset)
The reset()function was unclear.
Fixed: We clarified that the reset()function clears the files in the value property.
RadioButtonGroup (options)
The description incorrectly stated that options is an object.
Fixed: We clarified that options is an array of option objects.
wix-bookings
In the getCheckoutOptions parameter table, slot_ID was formatted incorrectly.
Fixed: The correct format is slotID.
wix-window
In the scrollTo function we didn’t mention how to get the coordinates of a given location.
Fixed: We added how to get the coordinates of a location on the page using the Editor toolbar.
wix-location
Introduction (URL)
The layout for describing the different parts of the URL was a bit confusing.
Fixed: We changed the URL breakdown to match the same layout as the wixHttpFunctionRequest object in the wix-http-functions API for consistency.