I have been using a very old javascript Pop-up Calendar with TextInput for years. It worked fine in C2, and I thought it was working in C3, but I have a strange problem...
when I click on the TextInput, the Calendar pops up fine, I can select a date by clicking on it, and it looks like it updates the TextInput's Text value. But C3 doesn't realise that the value has changed.
I made a quick test file to illustrate the problem:
- the TextInput field has a default value, click on the Button and the TextInput value is added to the Text object on the right.
- click on the TextInput field, select a different date
- Click on the Button again, and the TextInput value hasn't changed, even though it is displaying the new date.
if you manually start to edit the TextInput value, it then uses the new value.
Is this a bug in C3? or is this a problem with the old javascript?
The TextInput value gets set in the tcal.js f_tcalUpdate function. the browser's DevTools shows the value changing, but C3 still has the old value
https://www.rieperts.com/games/forum/PopCal.c3p