Set a nested property for datepicker

Can you set a nested public property? This is for a date picker also. I tried not setting this nested but I get a “ProtectedPropertyBindingException” error. I am using 0.5.3.

@this.set('NoteModal.note_reminder_date', picker.startDate.format(dateFormat));

I just ended up emitting an event instead which works well…

window.livewire.emit('setUpdatedNoteReminderDate', picker[0].value )
1 Like