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

Form helper components #7

Open
JackVeromeev opened this issue Jan 19, 2023 · 0 comments
Open

Form helper components #7

JackVeromeev opened this issue Jan 19, 2023 · 0 comments

Comments

@JackVeromeev
Copy link
Contributor

Styled components to simplify the form creation

  • having input field with possibility to have a rich text label
  • having input field with possibility to intercept and change field UI (for instance: change the internal label like "Selected programs" to "What programs would you like to participate", change helptexts, add field regex patterns)
  • having the form with multiple objects mixed
    <!-- edit account and create an opportunity on the same page -->
    <sldt-record-edit-forms records={recordSettings}>
        <sldt-input-field field-name="account:Name">
        <sldt-input-field field-name="opportunity:Name">
        <sldt-input-field field-name="account:Rating">
    </sldt-record-edit-forms>
    class MyForm extends LightningElement {
        recordSettings = [
            {objectApiName: "Opportunity", tag: "opportunity", recordTypeId: "012X000JA1445DDS"},
            {objectApiName: "Account", tag: "account", recordId: "001X0000X123ABC"},
        ]
    }
    it's actually can be managed through split record-edit-form on each field, but it wouldn't provide all correctness for dependent picklists and other validations

archived:

  • vertical-horizontal labeling (anything different to variant property? I don't remember the idea of this)
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

1 participant