You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FormElement.vue has some low hanging fruit that I can fix, but we have a few component calls where we specified both :value and v-model. I can see why vue-tsc would call this an error - I'm actually not sure why this works at all but clearly it does. The vue-tsc error is An object literal cannot have multiple properties with the same name..
There is an interesting comment probably related in that file.
/** TODO: remove attrs computed.
useAttrs is *not* reactive, and does not play nice with type safety.
It is present for compatibility with the legacy "FormParameter" component,
but should be removed as soon as that component is removed.
*/
const attrs: ComputedRef<FormParameterAttributes> = computed(() => props.attributes || useAttrs());
The places where we are hitting this error we are using attrs as the value.
The text was updated successfully, but these errors were encountered:
<BFormGroup label="Choose which datasets from the original history to include.">
<BFormRadio v-model="copyAll" :value="false">
Copy only the active, non-deleted datasets.
</BFormRadio>
<BFormRadio v-model="copyAll" :value="true"> Copy all datasets including deleted ones. </BFormRadio>
</BFormGroup>
FormElement.vue has some low hanging fruit that I can fix, but we have a few component calls where we specified both :value and v-model. I can see why vue-tsc would call this an error - I'm actually not sure why this works at all but clearly it does. The vue-tsc error is
An object literal cannot have multiple properties with the same name.
.Some reading is here:
There is an interesting comment probably related in that file.
The places where we are hitting this error we are using attrs as the value.
The text was updated successfully, but these errors were encountered: