Koray Küpe
Koray Küpe

Reputation: 736

NativeScript RadDataForm validateAndCommitAll doesn't work on iOS

I am trying to validate the form in a Nativescript Vue project, by accessing the form via refs and use validateAndCommitAll method of RadDataForm class.

On Android it just works and shows the alert, but on iOS it does nothing.

What would be a solution?

Playground link with sample code: https://play.nativescript.org/?template=play-vue&id=E7pBtn

Upvotes: 1

Views: 59

Answers (1)

Manoj
Manoj

Reputation: 21908

I think you will have to set the commitMode to Manual.

 <RadDataForm :source="eventInfo" ref="eventForm" row="0"
         commitMode="Manual">

Upvotes: 1

Related Questions