wip: add form data pelaksanaan operasi

todo: blood input section

* ui: patch focus ring state
* layouts-pages: fix width layout calculation

feat(treatment-report): add fill-notes component and validation messages
- Add new FillNotes component for tissue notes input with dynamic fields
- Update schema validation with required error messages for operation and specimen fields
- Adjust form layout to include new FillNotes component and improve field organization

cherry-pick arrangement procedure from feat/protokol-terapi-116
This commit is contained in:
Khafid Prayoga
2025-11-26 13:05:44 +07:00
parent f5704536d1
commit 5ad286a44e
21 changed files with 1198 additions and 67 deletions

No files matched your search

+5 -4
View File
@@ -76,10 +76,11 @@ const hasError = computed(() => !!fieldError.value)
v-bind="componentField"
:placeholder="placeholder"
:maxlength="maxLength"
:class="cn(
'focus:border-primary focus:ring-2 focus:ring-primary focus:ring-offset-0',
hasError && 'border-red-500 focus:border-red-500 focus:ring-red-500'
)"
:class="
cn(
hasError && 'border-red-500 focus-visible:border-red-500 focus-visible:ring-red-500',
)
"
autocomplete="off"
aria-autocomplete="none"
autocorrect="off"