0

I created form using ui-component. after filling the data i display the data into backend. I want to display those field who has data in View action.

EX. i want to remove company label if it's blank/null. Please Help.

enter image description here

4
  • Are you able to do this on the frontend? Something along the lines of if="company.value.length"
    – Ben Crook
    Jan 11, 2021 at 11:55
  • i can, but how will it affect in backend? Jan 11, 2021 at 11:56
  • Changing the frontend HTML will have no impact on the backend. If you'd like to achieve this in the backend then I'm not sure.
    – Ben Crook
    Jan 11, 2021 at 12:19
  • @Fenashah A data provider is used the set the value to the field. if you want to hide or show a field then you have to extend the component using JS. Jan 12, 2021 at 6:09

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.