Calendar event creation not respecting model conditions.


Popup on calendar click for event creation:

Why is the Name field not set to “Blocked” by the condition?

Because Skuid is currently setting the “Name” field value for new Events to “New Event”, regardless of whether the new Event already has a default value populated via a mechanism such as Model Conditions, as you are doing.

So, we’ll get this changed in the next update of Banzai.


A workaround, in the mean time:

'renderBlockName': function (field, value) { if (value !== 'Blocked') {<br />value = 'Blocked'<br />field&#46;model&#46;updateRow(field&#46;row, field&#46;id, value, {initiatorId: field&#46;_GUID});<br />}<br />skuid&#46;ui&#46;fieldRenderers[field&#46;metadata&#46;displaytype][field&#46;mode](field, value);<br />}