Now, we obviously cannot set the value of a datetime-local input type to null. So what we get is an empty string ... but HOW do I make a REST Resource in CI receive that empty string and set the database default (which is NULL) to that default value?
Now, if I pass an empty string that is obviously what will get inserted ... so, as I experience it there's a lack of support for 'automating' user interfaces using standard input types and the way a REST Model works in CI. It quickly become a complete nightmare to iterate all form elements for specific name and their value ...
Anyone got any ideas how to go about using CI REST resources in these cases ... which I guess would be plenty?