260724_01_ENH: 테이블 스타일 통일, 일부 버그 수정
This commit is contained in:
@@ -24,6 +24,8 @@ export interface KriAutoCompleteBaseProps<T> {
|
||||
getLabel?: (item: T) => string
|
||||
withInfo?: boolean
|
||||
disabled?: boolean
|
||||
/** Dialog 안에서 사용될 때 팝오버 스크롤이 막히지 않도록 기본 true (Radix Dialog + non-modal Popover 중첩 스크롤락 이슈 우회) */
|
||||
modalPopover?: boolean
|
||||
'aria-invalid'?: boolean
|
||||
}
|
||||
|
||||
@@ -74,6 +76,7 @@ export function KriMultiSelect<T = unknown>({
|
||||
onItemsChange,
|
||||
onOptionsChange,
|
||||
disabled,
|
||||
modalPopover = true,
|
||||
'aria-invalid': ariaInvalid,
|
||||
}: KriMultiSelectProps<T>) {
|
||||
const options = React.useMemo(
|
||||
@@ -105,6 +108,7 @@ export function KriMultiSelect<T = unknown>({
|
||||
resetOnDefaultValueChange
|
||||
deduplicateOptions
|
||||
disabled={disabled}
|
||||
modalPopover={modalPopover}
|
||||
aria-invalid={ariaInvalid}
|
||||
/>
|
||||
</div>
|
||||
@@ -152,6 +156,7 @@ function KriSingleSelectInner<T>(
|
||||
clearLabel = '선택 해제',
|
||||
clearValue = '__CLEAR__',
|
||||
disabled,
|
||||
modalPopover = true,
|
||||
'aria-invalid': ariaInvalid,
|
||||
}: KriSingleSelectProps<T>,
|
||||
forwardedRef: React.ForwardedRef<MultiSelectRef>,
|
||||
@@ -221,6 +226,7 @@ function KriSingleSelectInner<T>(
|
||||
resetOnDefaultValueChange
|
||||
deduplicateOptions
|
||||
disabled={disabled}
|
||||
modalPopover={modalPopover}
|
||||
title={showSelectedTooltip ? selectedLabel ?? value : undefined}
|
||||
aria-invalid={ariaInvalid}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user