cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi MDK- Experts,

I use for some FormCell in a Page Validations to indicate whats wrong or what's missing.

After input i want to clear this indication.

I try to use method 'control.clearValidationOnValueChange()' but nothing happen after change.

	clientAPI.executeAction('/..../Actions/.../CheckRequiredFields.action').then((value) => {
		value.data.forEach(control => {
			control.setValidationProperty('ValidationMessage', "Eingabe prüfen");
			control.redraw();
			control.clearValidationOnValueChange();
		})
	})

So i put clearValidation() in a Rule and trigger this on Event ValueChange on my FormCell control

export default function clearValidation(clientAPI) {
clientAPI.clearValidation();
}

This works fine for andriod but on IOS get worst. The entries in the field are absolutely mixed up. I type a number or letter and another number or letter appears.

What i did wrong ?

Thanks a lot,

Robert

0 Likes
View Entire Topic
bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Likes

Robert,

What version of MDK are you using?

I just tested on iOS using the latest MDK 5.1 version and on iOS it appears to be working as expected. Can you upgrade and retest if not on the latest version?

Thanks,

--Bill