angular icon indicating copy to clipboard operation
angular copied to clipboard

How to ignore the labelPosition while having a default value of left-left for custom component using editForm [Question]

Open shalin2000 opened this issue 4 years ago • 0 comments

Hey everyone, I am having trouble trying to achieve ignoring label position dropdown so that it doesn't show in the modal of the component but I want it to apply the "left-left" value from the dropdown to the components label. Is there a way of achieving that?

editForm: {
    textfield: [
      {
        key: 'display',
        ignore: false,
        components: [
          {
            key: 'labelPosition',
            ignore: true
          }
        ]
      }
    ]
}

So with the code above, I am able to hide the label position dropdown from the modal but how can I hide the dropdown but also have it apply the 'left-left' property?

shalin2000 avatar Aug 25 '21 16:08 shalin2000