Skip to content

Commit

Permalink
Fix nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarpsvo committed Jan 6, 2021
1 parent 3cebc8e commit bb367e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/components/FormField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default {
const valueToSend = this.getValueWithAdjustedVAT(this.value);
// NB! Always fall back to null
formData.append(this.field.attribute, valueToSend || null);
formData.append(this.field.attribute, valueToSend || '');
},
getValueWithAdjustedVAT(value) {
Expand Down

0 comments on commit bb367e3

Please sign in to comment.