3 ms·
> Are there plans to give them some type? Yes! The next custom fields implementation is, as far as I'm aware, one of a kind in that it a) uses the 'best' field
by stefblokedawson 6y ago
> Are there plans to give them some type?
Yes! The next custom fields implementation is, as far as I'm aware, one of a kind in that it a) uses the 'best' field type to store the data under the hood in the database (int for numerical data, datetime for dates, and so forth), and b) will permit you to output any html component to support that data type at input time. So, yes, a date picker for dates if you like.
All the built-in data wrangling is customisable by plugins so they can override/extend data storage and offer different input methods as needed. Though we do have to finish that bit of code yet! The branch is still lurking in our repo, awaiting final tweaks for prime time.