nextcloud / tables

🍱 Nextcloud tables app
https://apps.nextcloud.com/apps/tables
GNU Affero General Public License v3.0
133 stars 21 forks source link

Fixed Default Values per View #1140

Closed xbluemonkx closed 1 day ago

xbluemonkx commented 2 weeks ago

Is your feature request related to a problem? Please describe.

Hi, let us assume we have an table that is called "Vacations". And this table has four columns: Employee, Start, End, Status.

Furthermore Status is a dropdown list that has three values: New, Approved, Declined.

Now I create a application where employees can add new rows to the table. In this application the status should allways be "New".

Is there an option to set a default value per application or per view?

Another scenario: We could have a Article Master Data table. The table has a department column with values "Department A" and "Department B". Now i create two views. One with only articles of Department A and one with only Articles of Department B. - If i use those in an application I want to make sure, that new lines for each view have a non-changeable value for the department column. Depending in which view the new line is added.

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

blizzz commented 1 day ago

@juliushaertl i think we talked about this at some point, but I don't think/see that there was a similar issue raised yet

juliushaertl commented 1 day ago

Kind of overlaps with https://github.com/nextcloud/tables/issues/638

blizzz commented 1 day ago

Kind of overlaps with #638

Yes, this one. I'd consider it a duplicate actually.