Skip to content

Commit

Permalink
#72 - 테이블 스키마 뷰: number 필드에 최대, 최소, 기본값 정보 추가 (#73)
Browse files Browse the repository at this point in the history
blank 비율 필드는 백분율이 들어가는 의도이므로
0~100 범위를 주면 적절할 듯.

파일 다운로드 줄 개수 필드는
기본값을 줘서 직접 입력할 필요 없게 만들고
최대 1000건 제한을 넣어서 과도한 연산을 방지함.
  • Loading branch information
mikonu authored Aug 7, 2024
1 parent 30a6967 commit b92862f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/templates/table-schema.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ <h2 class="text-2xl font-bold text-gray-800 mb-6">테이블 스키마 만들기<
</div>
<div class="flex items-center">
<label>
<input type="number" th:field="*{schemaFields[__${iterStat.index}__].blankPercent}" class="blank-percent-id blank-percent-name mt-1 block w-full border-gray-300 rounded-md shadow-sm" required>
<input type="number" min="0" max="100" th:field="*{schemaFields[__${iterStat.index}__].blankPercent}" class="blank-percent-id blank-percent-name mt-1 block w-full border-gray-300 rounded-md shadow-sm" required>
</label>
</div>
<div class="flex items-center">
Expand Down Expand Up @@ -91,7 +91,7 @@ <h2 class="text-2xl font-bold text-gray-800 mb-6">테이블 스키마 만들기<
<div class="grid grid-cols-3 gap-4 mb-4">
<div class="flex items-center space-x-4">
<label for="rowCount" class="block text-sm font-medium text-gray-500 w-1/6">열 개수</label>
<input type="number" id="rowCount" name="rowCount" class="mt-1 block w-full border-gray-300 rounded-md shadow-sm">
<input type="number" min="1" max="1000" value="1" id="rowCount" name="rowCount" class="mt-1 block w-full border-gray-300 rounded-md shadow-sm">
</div>
<div class="flex items-center space-x-4">
<label for="fileType" class="block text-sm font-medium text-gray-500 w-1/6">Format</label>
Expand Down

0 comments on commit b92862f

Please sign in to comment.