유닛테스트 수정
This commit is contained in:
@@ -925,11 +925,15 @@ export const computeFormControllerPublicTokens = (
|
||||
);
|
||||
const mappedSubmitLabel = (mappedSubmitButton?.props as ButtonBlockProps | undefined)?.label ?? null;
|
||||
|
||||
// FormBlock 은 레이아웃/스타일을 가지지 않는 순수 컨트롤러이므로
|
||||
// formClassName 은 고정 기본값만 사용하고, formStyle 은 항상 빈 객체로 유지한다.
|
||||
// FormBlock 은 레이아웃/스타일을 가지지 않는 순수 컨트롤러이지만,
|
||||
// 배경색 커스텀 값을 허용해 form 요소 배경만 제어할 수 있도록 한다.
|
||||
const formClassNames = ["space-y-3"];
|
||||
const formStyle: CSSProperties = {};
|
||||
|
||||
if (props.backgroundColorCustom && props.backgroundColorCustom.trim() !== "") {
|
||||
formStyle.backgroundColor = props.backgroundColorCustom.trim();
|
||||
}
|
||||
|
||||
return {
|
||||
fields,
|
||||
formClassName: formClassNames.join(" "),
|
||||
|
||||
Reference in New Issue
Block a user