Skip to content

Commit

Permalink
fix: Make sure component name is saved
Browse files Browse the repository at this point in the history
  • Loading branch information
surajshetty3416 committed Feb 19, 2025
1 parent 3251abd commit 3ba015e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion frontend/src/components/Modals/NewComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@
],
}">
<template #body-content>
<BuilderInput type="text" v-model="componentName" label="Component Name" required />
<BuilderInput
type="text"
:modelValue="componentName"
@input="(value: string) => (componentName = value)"
label="Component Name"
required />
<div class="mt-3">
<BuilderInput
class="text-sm [&>span]:!text-sm"
Expand Down

0 comments on commit 3ba015e

Please sign in to comment.