Skip to content

fix default data length setting when editing a field type#67

Merged
HansMarcus01 merged 1 commit intoLIDSOL:mainfrom
javierariashe:bug/default-data-length
Oct 22, 2025
Merged

fix default data length setting when editing a field type#67
HansMarcus01 merged 1 commit intoLIDSOL:mainfrom
javierariashe:bug/default-data-length

Conversation

@javierariashe
Copy link
Copy Markdown
Member

@javierariashe javierariashe commented Oct 12, 2025

Fixed the logic for setting the default field size when changing a field’s type in the table editor.

  • Moved the getUserDefaultSize and getUserDefaultPrecisionScale utility functions to a new file so they can be used when creating a new field and when editing it.
  • Updated the field type change handler to use these utility functions, using the user default size and precision values.

Fixes #47

@HansMarcus01
Copy link
Copy Markdown

LGTM

@HansMarcus01 HansMarcus01 merged commit 9f4c22e into LIDSOL:main Oct 22, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] The length of the data types is not updated.

2 participants