#381: Events: param input not displaying value

This commit is contained in:
Michael Shanks 2020-06-24 15:55:40 +01:00
parent 1f89dd4b36
commit c8c50d1ee3
1 changed files with 6 additions and 0 deletions

View File

@ -8,11 +8,17 @@
import { EVENT_TYPE_MEMBER_NAME } from "components/common/eventHandlers" import { EVENT_TYPE_MEMBER_NAME } from "components/common/eventHandlers"
import { store, workflowStore } from "builderStore" import { store, workflowStore } from "builderStore"
import { ArrowDownIcon } from "components/common/Icons/" import { ArrowDownIcon } from "components/common/Icons/"
import { createEventDispatcher } from 'svelte'
export let parameter export let parameter
let isOpen = false let isOpen = false
$: {
let p = parameter
console.log(JSON.stringify(p))
}
const capitalize = s => { const capitalize = s => {
if (typeof s !== "string") return "" if (typeof s !== "string") return ""
return s.charAt(0).toUpperCase() + s.slice(1) return s.charAt(0).toUpperCase() + s.slice(1)