tables icon indicating copy to clipboard operation
tables copied to clipboard

Leaving default value qualifies as not filled

Open RTechSn opened this issue 10 months ago • 5 comments

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

RTechSn avatar Apr 24 '24 10:04 RTechSn

Could you retry with 0.7.1 please?

blizzz avatar Apr 30 '24 20:04 blizzz

Could you retry with 0.7.1 please?

Can confirm on 0.7.1. Now a warning appears. image

RTechSn avatar May 02 '24 09:05 RTechSn

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.

RTechSn avatar Jun 26 '24 09:06 RTechSn

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

blizzz avatar Jun 27 '24 10:06 blizzz

This affects other column types too

enjeck avatar Jul 09 '24 17:07 enjeck