Am I missing something? Is there a way to have an optional date field?
I've tried setting the field to nullable in the database, but Bolt detects the change and switches it back to not nullable.
If it helps this is what my contenttype looks like:
- Code: Select all
products:
name: Products
singular_name: Product
fields:
part_num:
type: text
label: Part Number
rebate_amt:
type: float
label: Rebate Amount
rebate_start:
type: date
label: Rebate Start
required: false
rebate_end:
type: date
label: Rebate End
required: false
rebate_file:
type: file
label: Rebate File
taxonomy: [ categories, tags ]