Hallo,
in one of our forms we are using inline repeats which contain number and string fields.
blockeditor.form.json (25.3 KB) blockeditor.json (13.9 KB).
At the moment we are implementing a costum version for the “apply” button, so we can display the button as disabled until something has changed. For detecting whether the form is dirty or not we use UiStateSelectors.dirty()(state) and the dirty attribute of the activity.
Now I recognized that if I change something in the number field in the inline repeat the ui state changes immediately and also the button can change immediately to enabeld. But for the string field in the inline repeat it doesn’t change. There I have to trigger the blur, so that the activity attribute is true to get the button enabled.
I don’t think this is an excepted behaviour, isn’t it? So has or had anyone else the same problem or is just something going wrong by us? And if so, has any one a suggestions what could possibly go wrong by us?
Thanks in advance for any hint.
Best regards,
Nora