markAsDirty in control in an edit TurboTable

UI Components for Angular
Post Reply
Yochi
Posts: 4
Joined: 18 Nov 2019, 11:14

18 Nov 2019, 11:58

Hello,
I'm new in Angler7.
I have a TurboTable with editMode="row". and in <p-cellEditor> With a required input text
But, when I'm in editing mode, if I don't touch the required control. And I click Save Button - There is no validation.
Only if I type in the control and erase the value - only then is it possible to save, and then the border input is painted red etc.
I realized that the FormGroup library should be used, markAsDirty command
But don't know how to use it in TurboTable.
Can help?
Thanks.

Yochi
Posts: 4
Joined: 18 Nov 2019, 11:14

24 Nov 2019, 09:44

Does anyone have a solution?
Thanks.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 14 guests