const renderers = [
…materialRenderers,
//register custom renderers
{ tester: ratingControlTester, renderer: RatingControl },
];
visible value is always go true to the RatingControl . how to control that value .
const renderers = [
…materialRenderers,
//register custom renderers
{ tester: ratingControlTester, renderer: RatingControl },
];
visible value is always go true to the RatingControl . how to control that value .
I’m assuming you are refering to the JSON Forms React seed. visible
is true
here as there is nothing indicating the rating control to hide. The JSON Forms bindings check for a visible rule and will pass visible:false
accordingly.