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