Skip to content

Commit 5cd211e

Browse files
change a color of a star sign when the input field is disabled
1 parent baa06b2 commit 5cd211e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ComponentsKit/Components/InputField/Models/InputFieldVM.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ extension InputFieldVM {
242242
string: "*",
243243
attributes: [
244244
.font: self.preferredTitleFont.uiFont,
245-
.foregroundColor: UniversalColor.danger.uiColor
245+
.foregroundColor: UniversalColor.danger.enabled(self.isEnabled).uiColor
246246
]
247247
))
248248
}

0 commit comments

Comments
 (0)