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:
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?
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:
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?