Fix typo in fieldsetview also.

This commit is contained in:
Aditya Toshniwal 2021-07-20 12:01:53 +05:30 committed by Akshay Joshi
parent 3d7450b308
commit cd9e37bac5

View File

@ -47,10 +47,10 @@ export default function FieldSetView({
let viewFields = []; let viewFields = [];
/* Prepare the array of components based on the types */ /* Prepare the array of components based on the types */
schema.fields.forEach((field)=>{ schema.fields.forEach((field)=>{
let {visible, disabled, readonly, modeSuppoted} = let {visible, disabled, readonly, modeSupported} =
getFieldMetaData(field, schema, value, viewHelperProps); getFieldMetaData(field, schema, value, viewHelperProps);
if(modeSuppoted) { if(modeSupported) {
/* Its a form control */ /* Its a form control */
const hasError = field.id == formErr.name; const hasError = field.id == formErr.name;
/* When there is a change, the dependent values can change /* When there is a change, the dependent values can change