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
|
2021-11-10 17:04:27 +01:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<ModalContent
|
|
|
|
size="M"
|
2021-11-11 13:55:04 +01:00
|
|
|
title={"Enter name"}
|
2021-11-10 17:04:27 +01:00
|
|
|
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>
|