Use DB Schema Length

Created on 6 December 2022, about 2 years ago
Updated 25 March 2023, almost 2 years ago

Problem/Motivation

I'm working with fields that have character lengths different than 255 characters. The 255 maximum amount is hardcoded in the module and should instead be taken from the db schema.

Steps to reproduce

Have any field property with schema length of more than 255. See that you are able to set the maximum length using maxlength to more than 255 but the maxlength allowed on the input is 255.

Proposed resolution

  1. Take maxlength length directly from DB Schema, or
  2. Provide default value of 255 and allow the user to override this via existing configuration

Remaining tasks

  • ❌ Get maintainer approval for the proposed resolution
  • ✅ Implement resolution
  • ❌ Write test coverage (contact a maintainer if you need help)
  • ❌ Fix issue reported in comment #7
  • ❌ Maintainer review via the UI
  • ❌ Maintainer Code Review #1
  • ❌ Maintainer code review #2
  • ❌ Merge into dev branch, with credit to author and participants

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Postponed: needs info

Version

2.1

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States cedewey Denver, CO
  • Issue was unassigned.
  • Status changed to Postponed: needs info almost 2 years ago
  • 🇺🇸United States cedewey Denver, CO

    Based on Joe's last comment this issue needs more clarification from you rowrowrowrow. Kindly update the issue description with more specifics so we can fully understand the problem and your proposed solution.

Production build 0.71.5 2024