How to have the same functionality as refreshAfter=Keypress (like in the text field) for a date field?
Discussion posts and replies are publicly visible
This cannot be configured. But the saveInto is evaluated as the user selects a date.
What is your use case?
I have this Date field after which there is a Submit button. So, if any user deletes the date field value and directly clicks the submit button, it is getting submitted with a value it was populated with earlier. Refresh is only happening on clicking elsewhere.
Replace that date field with a text field and in the placeholder, instruct the correct format in which you would like the user to enter the value. Take the help of instructions and validations to guide the user and use the "KEYPRESS" with it.
I would consider this to be a bug. Please prepare a small demo and open a support case.
rijutaghosh1711 said:So, if any user deletes the date field value and directly clicks the submit button, it is getting submitted with a value it was populated with earlier
I'm trying to reproduce this behavior now, and this is not what happens for me.
Even if I highlight the date value, then press "delete" almost simultaneously with clicking the "submit" button, the value that gets passed to the process instance is blank, as expected.