Skip to content

Commit

Permalink
UI Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
agustinbusso committed Sep 26, 2023
1 parent 425180a commit a11d234
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/vue-form-builder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@
class="d-flex justify-content-center align-items-center drag-placeholder text-center position-absolute rounded mt-4 flex-column"
>
<span class="mb-3" v-html="dragElementIcon"></span>
<h3>{{ $t("Place your controls here!") }}</h3>
<h3>{{ $t("Place your controls here.") }}</h3>
<p>
{{ $t("To start building a Screen, drag and drop the Controls of the left panel here.") }}
{{ $t("To begin creating a screen, drag and drop items from the Controls Menu on the left.") }}
</p>
<!-- {{ $t("Drag an element here") }} -->
</div>
Expand Down Expand Up @@ -1153,6 +1153,8 @@ export default {
});
const clone = this.cloneControl(aiControl);
clone.config.aiConfig.autofocus = true;
clone.config.aiConfig.screenTitle = this.screen.title;
clone.config.aiConfig.screenDescription = this.screen.description;
this.config[this.currentPage].items.push(clone);
this.updateState();
Expand Down

0 comments on commit a11d234

Please sign in to comment.