Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default value is removed when adding items in a row #235

Closed
connium opened this issue Apr 21, 2023 · 1 comment
Closed

Default value is removed when adding items in a row #235

connium opened this issue Apr 21, 2023 · 1 comment
Assignees
Labels
3. to review Waiting for reviews bug Something isn't working

Comments

@connium
Copy link
Contributor

connium commented Apr 21, 2023

Adding multiple rows with "add more" enabled, default values get removed.

Steps to reproduce the behavior

  1. Create a column with type "single line of text" for a table and set a default value (e.g. "Germany").
  2. Click on the button to create a new row in the table. The input field for the column is prefilled with the default value "Germany".
  3. Activate the "Add more" button.
  4. Save the row. The modal will be cleared to allow adding another row.
  5. This time the input field for the column is not prefilled but empty.

Expected behavior

The input field for the column should be pre-filled each time.

Environment

  • Nextcloud version: 25.0.5
  • Tables version: 0.4.0
@datenangebot datenangebot self-assigned this Apr 25, 2023
@datenangebot datenangebot added bug Something isn't working 1. to develop Accepted and waiting to be taken care of labels Apr 25, 2023
@datenangebot datenangebot added this to the v0.4.1 milestone Apr 25, 2023
datenangebot pushed a commit that referenced this issue Apr 25, 2023
… more" mode

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>
@datenangebot datenangebot added 3. to review Waiting for reviews and removed 1. to develop Accepted and waiting to be taken care of labels Apr 25, 2023
datenangebot pushed a commit that referenced this issue Apr 26, 2023
bugfix: #235 load default value for text-line on create row with "add more" mode
backportbot-nextcloud bot pushed a commit that referenced this issue Apr 26, 2023
… more" mode

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>
datenangebot pushed a commit that referenced this issue Apr 26, 2023
[stable0.4] bugfix: #235 load default value for text-line on create row with "add more" mode
@datenangebot datenangebot removed this from the v0.4.1 milestone May 15, 2023
@juliusknorr
Copy link
Member

Seems fixed on main, will close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants