Skip to content

Instantly share code, notes, and snippets.

@Synvox
Created March 14, 2018 22:45
Show Gist options
  • Save Synvox/5b13771b1f1a6a9de22bf814afe0ac26 to your computer and use it in GitHub Desktop.
Save Synvox/5b13771b1f1a6a9de22bf814afe0ac26 to your computer and use it in GitHub Desktop.
import wixData from 'wix-data';
$w.onReady(async ()=>{
const item = await wixData.get('collectionName', 'itemId')
$w('#myInputSelector').value = item.propertyName
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment