From e7bcd32588aafbea29a9a52d8a46bb20c306c042 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Wed, 21 Aug 2024 13:07:51 -0500 Subject: [PATCH] put the moleculeName in the base Signed-off-by: Matt Bruce --- MVMCoreUI/Atomic/Atoms/FormFields/FormFieldModel.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MVMCoreUI/Atomic/Atoms/FormFields/FormFieldModel.swift b/MVMCoreUI/Atomic/Atoms/FormFields/FormFieldModel.swift index 6bf8c0be..8b68fb0a 100644 --- a/MVMCoreUI/Atomic/Atoms/FormFields/FormFieldModel.swift +++ b/MVMCoreUI/Atomic/Atoms/FormFields/FormFieldModel.swift @@ -15,6 +15,8 @@ import VDS // MARK: - Properties //-------------------------------------------------- public class var identifier: String { "" } + public var moleculeName: String { Self.identifier } + public var id: String = UUID().uuidString public var backgroundColor: Color?