Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] FormBuilder > How to remove/disable unnecessary component options #11

Closed
ashleyasli opened this issue Oct 7, 2019 · 6 comments

Comments

@ashleyasli
Copy link

ashleyasli commented Oct 7, 2019

Hello all,

I need to remove/disable form-builder tab’s internal options like “Placeholder”, "Widget", "Tool-tip" etc. I am using angular-demo as base. How do I disable these portions I crossed out in the image below?

image

I will appreciate it if you can answer my question with an example.

Thanks in advance for any helps

@ashleyasli ashleyasli changed the title How to add/remove each tab's internal options, which are already created options from before [QUESTION] FormBuilder > How to remove/disable unnecessary component options Oct 23, 2019
@ashleyasli
Copy link
Author

ashleyasli commented Oct 28, 2019

Here is the solution:

"editForm": {
              "textfield": [
              {
                  "key": "display",
                  "ignore": false,
                  "components": [
                      {
                          "key": "placeholder",
                          "ignore": true
                      },
                      {
                        "key": "tooltip",
                        "ignore": true
                      },
                      {
                        "key": "widget",
                        "ignore": true
                      }
                  ]
              }      
          ]
        }              

@Achyuthkodali
Copy link

Can We ignore those components for all types fields at a time?

@ASHIK5261
Copy link

@ashleyasli its heped me. Thanks

@Quartzbell
Copy link

This is exactly what I'm looking for for hours.
Thank you @ashleyasli!

@Ankita-G-Mudgal
Copy link

thank you.. @ashleyasli

@msrmsr621
Copy link

@Ankita-G-Mudgal @Quartzbell @ASHIK5261 @Achyuthkodali @ashleyasli

Here is the solution:

"editForm": {
              "textfield": [
              {
                  "key": "display",
                  "ignore": false,
                  "components": [
                      {
                          "key": "placeholder",
                          "ignore": true
                      },
                      {
                        "key": "tooltip",
                        "ignore": true
                      },
                      {
                        "key": "widget",
                        "ignore": true
                      }
                  ]
              }      
          ]
        }              

How to add custom components under textField.
I need to add one checkbox name will be "isSearchable".
is it possible?
please help me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants