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

variable-length data types in table designer default to length of 1 #18302

Open
Benjin opened this issue Oct 22, 2024 · 0 comments
Open

variable-length data types in table designer default to length of 1 #18302

Benjin opened this issue Oct 22, 2024 · 0 comments

Comments

@Benjin
Copy link
Contributor

Benjin commented Oct 22, 2024

Repro:

  1. Create or edit table
  2. create new column
  3. select type varchar/nvarchar/varbinary

Expected:

  • default length is something useful, like 20 or 50
  • "type" selection displays length ("nvarchar(50)") when selected. It should be possible to have the selection in the dropdown display just "nvarchar", but override the displayed value to be "nvarchar(50)" when it's selected by playing with the combo box's value and selectedOptions

Reality:

  • default length is a not-particularly-useful 1
  • "type" dropdown doesn't diplay the length, which can make this easy to miss

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants