Skip to content

Add Validation on column types for -1 value #2413

@samin-z

Description

@samin-z

Steps to reproduce

Steps to reproduce

  1. Create a new column for a table.
  2. In the API request payload for adding a column, set textMaxLength to -1.
  3. Attempt to add a new row to the table.

Expected behavior

setting 'textMaxLength' to -1 should throw an error value can not be minus value,

Actual behavior

adding a new row with 'textMaxLength' set to -1 throws an error.

Image

Tables app version

No response

Browser

chrome 145

Client operating system

No response

Operating system

No response

Web server

None

PHP engine version

None

Database

None

Additional info

No response

Metadata

Metadata

Assignees

Labels

0. Needs triagePending approval or rejection. This issue is pending approval.bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

Status

☑️ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions