mirror of
https://github.com/Mueller-Patrick/DHBW-Service-App.git
synced 2026-04-28 18:30:09 +00:00
✨ Changed course to uppercase
This commit is contained in:
@@ -32,6 +32,7 @@ struct FirstOpeningSettings: View {
|
|||||||
.overlay(RoundedRectangle(cornerRadius: 10).stroke(invalidInputCourse ? Color.red : Color.secondary, lineWidth: 1))
|
.overlay(RoundedRectangle(cornerRadius: 10).stroke(invalidInputCourse ? Color.red : Color.secondary, lineWidth: 1))
|
||||||
.onChange(of: course, perform: { value in
|
.onChange(of: course, perform: { value in
|
||||||
self.setDirector()
|
self.setDirector()
|
||||||
|
self.course = self.course.uppercased()
|
||||||
})
|
})
|
||||||
.foregroundColor(invalidInputCourse ? .red : .primary)
|
.foregroundColor(invalidInputCourse ? .red : .primary)
|
||||||
.textContentType(.name)
|
.textContentType(.name)
|
||||||
|
|||||||
Reference in New Issue
Block a user