0

Click on the component you want to hide. Add below script to the property.

function evaluateProperty({api, helpers}) {
if(api.context.props.table == "incident")
return false; //Do not hide the component
else
return true; //Hide the component
}

Add below script to the property for add extra condition

function evaluateProperty({api, helpers}) {
if(api.data.look_up_record_1.result.priority.value == 3 && api.context.props.table == "incident")
return true; //Hide the component
else
return false; //Do not hide the component
}

UI Builder: Control Component Visibility – Hide or Show Any Component for particular Table
Gowthamaa Mohan Posted new comment March 27, 2024

can you please let me know, how to hide the component if there is no data in ui builder?