Skip to content

[NcField] [NcSelect] field in forms #8436

@kra-mo

Description

@kra-mo

This came up recently in #7838 (comment), a little while ago in nextcloud/talk-desktop#1530 (comment), and nextcloud/server#59431 which is still open.

It's clear that we want a way to more easily fit inputs into forms.

I'm proposing to adapt a solution similar to Talk Desktop:

Image

For fields, a pencil icon would indicate that the field is editable. After clicking it, the "button" would be swapped out by an actual NcField, matching the styling and metrics of the button. Clicking on the checkmark would "save" the value and bring back the button.

For selects, it would be a similar story. Clicking on the button would swap it out with an expanded NcSelect of the same proportions, collapsing it would swap it back.

#7838 may still be viable for simpler selects, but we agreed that it isn't useful for everything, so we'd still need something like this.

What do you think @susnux @ShGKme @nimishavijay?

Metadata

Metadata

Assignees

No one assigned

    Labels

    designDesign, UX, interface and interaction design

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions