The modifier makes Alpine listen for change, and the calendar's own change event makes that listener write the event's detail object over the date string the calendar has just stored. Any modifier also silently breaks the model-to-view sync, because the model expression is read from the literal x-model attribute name, which does not exist once the name carries a modifier.
The modifier makes Alpine listen for
change, and the calendar's ownchangeevent makes that listener write the event's detail object over the date string the calendar has just stored. Any modifier also silently breaks the model-to-view sync, because the model expression is read from the literalx-modelattribute name, which does not exist once the name carries a modifier.