@ehfuse/mui-form-controls 3.5.5 → 3.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -462,6 +462,7 @@ import { ToggleButtonGroup } from "@ehfuse/mui-form-controls";
462
462
  - `form` 쪽은 고친 값을 **폼에 먼저 적고**(`setFormValue` · 없으면 `handleFormChange`) `onCommit(value, name)` 을 부른다.
463
463
  - `onCommit` 이 `false`(또는 `false` 로 끝나는 Promise)를 돌려주면 고치기 전으로 되돌린다(폼 값도). 값이 실제로 바뀌었을 때만 부른다.
464
464
  - `PropertyText` 의 `parse(raw)` 는 저장 전에 친 글을 바꾼다(전화번호 하이픈 등) — `null` 이면 틀린 값으로 보고 되돌린다.
465
+ - `format: "phone"` 은 치는 대로 하이픈을 넣고(국제번호 같은 글은 그대로), `format: "number"` 는 천 단위 쉼표로 보이되 `onCommit` 에는 쉼표 없는 숫자 글을 준다(3.5.7). 사업자번호 · 연도 · 우편번호에는 주지 않는다.
465
466
  - 예전 이름 `onChange`(Select · MultiSelect · Switch) · `checked`(Switch)도 그대로 받는다.
466
467
 
467
468
  ### 모양 — `FormControlsConfigProvider property` · `appearance`