Skip to content

Add RecordForm Component with Docked Footer Support #1395

Open
@interactivellama

Description

@interactivellama

Since InlineEdit is going to be deprecated. The form editing pattern is a Popover/Edit icon button for single input fields and the SLDS Form Edit mode for multiple field forms.

I propose creating a <Form> component that wraps form elements and allows adding a Docked Form Footer. The following is a mockup. Docked Footer should always be paired with Read/Edit mode of forms.

01

Consumers would still need to update inputs from read only variants to base inputs themselves, but I'm open to suggestions. I would be difficult to pass a prop down into the inputs directly since they may be nested in formatting. This might be a place to use React's context?

The primary issue with Docked Form footer is that it might need to be fixed to the bottom of the page and not scroll.

I need additional input from stakeholders.

Metadata

Metadata

Assignees

No one assigned

    Labels

    formmc-design-backlogThese items have been used in MC designs or have been requested by a designer.needs-clarity

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions