budibase/packages/builder/src/components/design/NavigationPanel/ScreenNameModal.svelte

21 lines
448 B
Svelte
Raw Normal View History

2021-11-10 17:04:27 +01:00
<script>
import { ModalContent, Input } from "@budibase/bbui"
export let modal
export let navigationSelectionModal
2021-11-11 13:09:36 +01:00
export let screenName
$: console.log(name)
2021-11-10 17:04:27 +01:00
</script>
<ModalContent
size="M"
title={"hello"}
confirmText={"Continue"}
onCancel={() => modal.show()}
onConfirm={() => navigationSelectionModal.show()}
cancelText={"Back"}
2021-11-11 13:09:36 +01:00
disabled={!screenName}
2021-11-10 17:04:27 +01:00
>
2021-11-11 13:09:36 +01:00
<Input label="Name" bind:value={screenName} />
2021-11-10 17:04:27 +01:00
</ModalContent>