Description
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.
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.