How to remove individual options (such as Display/Label Position or Data/Persistent).
@Tatsiana8 is already working on this.
Since Jul 10, 2024.
Assessment
This issue has not been assessed yet.
Description
Hello.
How can you remove individual options in the components so that only the most important settings are displayed?
I've already tried this, but I can't remove the "Label Position" option:
Formio.builder(document.getElementById('builder'), {}, {
builder: {
basic: false,
advanced: false,
data: false,
layout: false,
premium: false,
customBasic: {
title: 'Formularfelder',
default: true,
weight: 0,
components: {
textfield: true,
textarea: true,
email: true,
phoneNumber: true
}
}
},
editForm: {
textfield: [
{ key: 'api', ignore: true },
{ key: 'logic', ignore: true },
{ key: 'layout', ignore: true },
{ key: 'conditional', ignore: true },
{ key: 'labelPosition', ignore: true },
{ key: 'display.labelPosition', ignore: true },
{ labelPosition: false },
]
}
}).then(function(builder) {
builder.on('saveComponent', function() {
console.log(builder.schema);
});
});
Is there somehow an overview of the “key” names used?
- Dominant language
- TypeScript
- Stars
- 706
- Forks
- 493
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from formio/angular
-
question
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
[BUG] <form-builder> move icon is missingMay be free again @PrathameshHegde claimed this 101 days ago, and no pull request is open. Openbug
-
question
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
-
[BUG] "Left (Right-aligned)" label position causes misaligned error messages and descriptionsMay be free again @Victoriya25 claimed this 365 days ago, and no pull request is open. Openbug
-
question
Difficulty 5/5 Over a week Newbie friendliness 25/100
Similar issues
-
`@angular/[email protected]` depends on vulnerable Vite 7.3.7 - GHSA-p4f5-76q4-ffq7 (Critical RCE)Openarea: @angular/build
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
angular/angular-cli#34764 ·
Maintainers usually reply within 1 day
-
status/need-triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
google-gemini/gemini-cli#30384 · 1 comment ·
Maintainers usually reply within 1 day
-
P2
Difficulty 1/5 Under an hour Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
bug ready-for-human
Difficulty 2/5 1-3 hours Newbie friendliness 60/100
LucasSantana-Dev/Lucky#3150 ·
Maintainers usually reply within 1 day
-
enhancement good first issue priority: low size: XS
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day