Jeff
TimePicker - Prevent end before start with JS timepicker
When using the TimePicker, the user shouldn't be able to choose an END time before the START time for an event. I found another thread by @Spârky that gave a great solution, but doesn't work with the JS version (->native(false)). I've played with it but can't find the magic formula to get the Carbon instances to compare properly.
Has anyone got a solution?
8 replies
Add/Set Value of Tenant ID when saving
I have the following to allow creation of a "type" when filling in a form. The type is to be tied to the current tenant when saved but the ID isn't passed through, and I don't know how to inject it on SAVE. The
mutateFormDataBeforeCreate
doesn't seem to work in this context. I'm sure it's simple, but I can't find it.
The error complains the field doesn't have a default value - which makes sense.
20 replies