Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Dependent Dropdown & Form Validation #61

Merged
merged 5 commits into from
Oct 4, 2022
Merged
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
2 changes: 1 addition & 1 deletion backend/models/orderModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const orderSchema = mongoose.Schema(
],
shippingAddress: {
address: { type: String, required: true },
pinCode: { type: Number, required: true },
pinCode: { type: String, required: true }, // PinCode type is String (because: Different Countries uses PinCode as AlphaNumeric or Numeric as well - anujverma-eng)
city: { type: String, required: true },
state: { type: String, required: true },
country: { type: String, required: true },
Expand Down
Loading