05/02 Phase C 4
This commit is contained in:
@@ -1,13 +1,20 @@
|
||||
// Views/Inspection/FormRenderer/FormFieldView.swift
|
||||
// -------------------------------------------------
|
||||
// Renders a single form field from the inspection template form_schema.
|
||||
// Designed to sit inside a card (secondarySystemGroupedBackground).
|
||||
// All fields use consistent styling suited for iPad.
|
||||
// Views/Dashboard/FormFieldView.swift
|
||||
// ------------------------------------
|
||||
// Shared form field sub-components used across the app.
|
||||
//
|
||||
// CHANGED (grid layout update):
|
||||
// - FormFieldView top-level struct retained for any standalone usage.
|
||||
// - RatingFieldView, PassFailFieldView, CheckboxGroupView, RadioGroupView,
|
||||
// SelectFieldView, DateFieldView remain here for backward compatibility.
|
||||
// - ImageFieldView, SignatureFieldView, TableFieldView remain here;
|
||||
// GridCellContentView (in ExecuteInspectionView.swift) references these directly.
|
||||
// - No components removed.
|
||||
|
||||
import SwiftUI
|
||||
import PencilKit
|
||||
|
||||
// MARK: - FormFieldView
|
||||
// Retained for standalone/legacy usage outside the grid inspection form.
|
||||
|
||||
struct FormFieldView: View {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user