formio / angular

JSON powered forms for Angular

Home Page:https://formio.github.io/angular-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to overwrite data grid's minlength property

sudhaps opened this issue · comments

Hi team,

I am facing the difficulty in overwriting the data grid's minlength property using schema logic based on another field's input value like this -

component.validate.minLength = ""+data.noOfVehicles+"";
schema = {component : component};
console.log(component);

After setting the schema, I am consoling the component and it is updated with the new value of minLength but not reflecting in the front-end with as many rows minLength holds. Please help me in getting this resolved. Thanks in advance.

Hi team,

Can anyone please guide me on the above query ? Thanks in advance.