Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/.vitepress/theme/components/price-estimator/LabModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const save = () => {
machineSubscription: formData.value.machineSubscription,
archive: Number(formData.value.archive),
work: Number(formData.value.work),
scratch: Number(formData.value.scratch),
scratch: formData.value.scratch,
isDefault: true,
})
emit("close")
Expand Down Expand Up @@ -85,15 +85,15 @@ onMounted(() => {
</v-col>

<v-col cols="12" sm="6">
<v-text-field v-model="formData.archive" label="Archive Storage (TB)" type="number" variant="outlined" min="0" placeholder="0.4"></v-text-field>
<v-number-input v-model="formData.archive" label="Archive Storage (TB)" type="number" variant="outlined" :min="0" :step="0.1" :precision="1"></v-number-input>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we set min="0.1" ?

</v-col>

<v-col cols="12" sm="6">
<v-text-field v-model="formData.work" label="Work Storage (TB)" type="number" variant="outlined" min="0" placeholder="0.3"></v-text-field>
<v-number-input v-model="formData.work" label="Work Storage (TB)" type="number" variant="outlined" :min="0" :step="0.1" :precision="1"></v-number-input>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we set min="0.1" ?

</v-col>

<v-col cols="12" sm="6">
<v-text-field v-model="formData.scratch" label="Scratch Storage (TB)" type="number" variant="outlined" min="0" placeholder="0.4"></v-text-field>
<v-number-input v-model="formData.scratch" label="Scratch Storage (TB)" type="number" variant="outlined" :min="0" :step="0.1" :precision="1"></v-number-input>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we set min="0.1" ?

</v-col>
</v-row>
</v-container>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,19 +80,7 @@ onMounted(() => {
<v-select :items="['HDD', 'NVME']" v-model="formData.type" label="Type" required variant="outlined"></v-select>
</v-col>
<v-col cols="12">
<v-text-field
v-model="formData.size"
label="Size (TB)"
hint="Enter the size of the storage in Terrabytes"
persistent-hint
type="number"
:min="1"
:max="100"
:step="1"
required
suffix="TB"
variant="outlined"
></v-text-field>
<v-number-input v-model="formData.size" label="Size (TB)" type="number" variant="outlined" :min="0" :step="0.1" :precision="1"></v-number-input>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we set min="0.1" ?

</v-col>
</v-form>
</v-row>
Expand Down