nextcloud / tables

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

Leaving default value qualifies as not filled #993

Closed RTechSn closed 3 months ago

RTechSn commented 6 months ago

Steps to reproduce

  1. Create a new column of type numeric, for example "quantity".
  2. Set default value to 1.
  3. Set required to true
  4. Add new row. Leave our field value as default (1).

Expected behavior

Default value should be acceptable

Actual behavior

You get an error, saying that you should fill all required fields

Tables app version

0.6.6

Browser

Firefox 124.0.2

Client operating system

Any

Operating system

Ubuntu 22.04

Web server

Apache

PHP engine version

PHP 8.1

Database

PostgreSQL

Additional info

No response

blizzz commented 6 months ago

Could you retry with 0.7.1 please?

RTechSn commented 6 months ago

Could you retry with 0.7.1 please?

Can confirm on 0.7.1. Now a warning appears. image

RTechSn commented 4 months ago

0.7.3 You can save an entry with a default value now, but you must manually re-enter it. Save button is inactive as long as the value remains untouched.

blizzz commented 4 months ago

@enjeck could you check that, if you have time?

enjeck commented 4 months ago

This affects other column types too