Skip to main content
Nintex Community Menu Bar
Question

Calendar event creation not respecting model conditions.

  • July 9, 2024
  • 3 replies
  • 10 views

Forum|alt.badge.img+18

Condition:

Popup on calendar click for event creation:

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

3 replies

Forum|alt.badge.img+13

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.


Forum|alt.badge.img+18
  • Author
  • July 9, 2024

Thanks!


Forum|alt.badge.img+18
  • Author
  • July 9, 2024

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 />}