Skip to content

Commit

Permalink
removed @input from width, height, and angle mosaic fields and instea…
Browse files Browse the repository at this point in the history
…d it's now being binded by :v-model
  • Loading branch information
Carolina Capetillo committed Oct 10, 2023
1 parent eadd47f commit fda6887
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/projects/CreateProjectForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@
style="width: 150px;"
>
<b-numberinput
:v-model="exposures[n-1].width"
:value="Number(exposures[n-1].width)"
:class="getSymbol(exposures[n-1].zoom)"
size="is-small"
Expand All @@ -377,14 +378,14 @@
:max="exposures[n-1].zoom === 'Mosaic arcmin.' ? maxWidthDegrees * degreesToArcminutes : maxWidthDegrees"
:step="exposures[n-1].zoom === 'Mosaic arcmin.' ? conditionalStep * 10 : conditionalStep"
min-step="0.001"
@input="val => exposures[n-1].width = val"
/>
</b-field>
<b-field
:label="n==1 ? 'Height' : ''"
style="width: 150px;"
>
<b-numberinput
:v-model="exposures[n-1].height"
:value="Number(exposures[n-1].height)"
:class="getSymbol(exposures[n-1].zoom)"
size="is-small"
Expand All @@ -394,14 +395,14 @@
:max="exposures[n-1].zoom === 'Mosaic arcmin.' ? maxHeightDegrees * degreesToArcminutes : maxHeightDegrees"
:step="exposures[n-1].zoom === 'Mosaic arcmin.' ? conditionalStep * 10 : conditionalStep"
min-step="0.001"
@input="val => exposures[n-1].height = val"
/>
</b-field>
<b-field
:label="n==1 ? 'Angle' : ''"
style="width: 150px;"
>
<b-numberinput
:v-model="exposures[n-1].angle"
:value="Number(exposures[n-1].angle)"
class="angle-input"
size="is-small"
Expand All @@ -411,7 +412,6 @@
:max="90.0"
:step="5"
min-step="0.001"
@input="val => exposures[n-1].angle = val"
/>
</b-field>
<div />
Expand Down

0 comments on commit fda6887

Please sign in to comment.