Popup Calendar set Null date

Hi Guys,

I had tried to set a null date to the popup calendar when the dropdown selected value - 1. Can you suggest how to fix this?

Ignition Vision 8.1.17

Thank you,

You could script it from the dropdown's propertyChange event handler:

if event.propertyName == 'selectedIndex' and event.newValue == -1:
	event.source.parent.getComponent('Popup Calendar').date = None
1 Like

Thank you so much @justinedwards.jle

Worked Perfectly!!

1 Like