1,612 questions
0
votes
1
answer
83
views
Segmented control has design bugs in Navigation Bar with Liquid Glass
When I put a SwifUI segmented control in a navigation bar, liquid glass seems to be making it render incorrectly. The capsule has vertical clipping and the sides show layered backgrounds.
Here is my ...
1
vote
1
answer
70
views
Picker styles and dismissing keyboards
I have been looking at how to explicitly dismiss a keyboard while allowing a picker on the same form to actually work. There are already various solutions on here that solve my issue, and I have a ...
0
votes
1
answer
93
views
Visibility of TextField label compared to Picker or Toggle in SwiftUI
If I place a Picker or a Toggle in a SwiftUI Form, the associated label is always visible:
But for a TextField, the label is only shown while the field is empty:
And as soon as I start to fill in ...
0
votes
0
answers
34
views
How to increase height only of selected item in WheelPicker [duplicate]
I cannot set the height of selected item in WheelPicker in iOS
This is the code:
Picker("Second Digit", selection: $secondDigit) {
ForEach(0...9, id: \.self) { digit in
Text(&...
-4
votes
1
answer
159
views
Maui picker not reset properly on iOS
The issue
I have a picker in my MAUI application, with its ItemSource and SelectedItem bound to properties in the page's ViewModel. I also have a button to reset the picker, by setting the property ...
-1
votes
1
answer
95
views
Why does ForEach update for DisclosureGroup and not my Picker?
I am trying to update a state variable that is an array of Strings that I get back from an API call. I want to display this array in a Picker. However, my Picker is completely blank. I know my api is ...
0
votes
1
answer
256
views
MacOS, SwiftUI - styling Picker button (menu type)
Is it possible to style a Picker of .pickerStyle(.menu) ? I want to change color of up-down arrows on the picker button and background color behind them.
0
votes
1
answer
121
views
Picker hit test area in SwiftUI on iOS
I have a following code with Picker in SwiftUI on iOS:
enum Something: String, CaseIterable {
case one
case two
case three
}
struct ContentView: View {
@State private var something: ...
1
vote
0
answers
49
views
Modfiy the text color of the picker items on Android
Is there an easier way to change the text color of the items in a Picker on Android other than implementing your own AlertDialog or custom MAUI picker? I'm talking about the picker and no other ...
0
votes
1
answer
65
views
I need a picker in .NET MAUI to initialize to the current value of a term
I have a page that displays a list of terms. Each term has a status. See models:
public class Term : INotifyPropertyChanged
{
[PrimaryKey, AutoIncrement]
public int Term_ID { get; set; }
...
0
votes
0
answers
78
views
SelectedItem is always set to null in dotnet maui picker
In my dotnet maui picker, I am trying to have a picker with the SelectedItem already filled from my backend. However, the picker always sets it's SelectedId at -1, completely ignoring my backend.
Here ...
2
votes
2
answers
296
views
React Native RNPickerSelect doesn't open on iOS
All works fine on android but in iOS my picker doesn't open.
I have tried to change style, remove style, but nothing works.
My picker :
<View style={[styles.pickerWrapper, styles.marge]}>
...
0
votes
1
answer
76
views
Picker selection not updating the view
In my app there is a view with several pickers. If I select a value with one of them ($limits[index].from), a value that depends on it should be updated. Unfortunately, this does not work. Only when I ...
0
votes
1
answer
104
views
Picker selection, ForEach an binding property
I'm trying to make a view with some pickers. The selections should be connected to a property of an binding array:
@Binding var limits: [Limit]
var body: some View {
ForEach(limits) { limit in
...
1
vote
1
answer
125
views
How can I reduce excess space on the left in react-native-picker/picker?
Question
How can I reduce excess space on the left in react-native-picker/picker?
Background
I want to use scrolling pickers in multiple places on a screen. These pickers will need to be efficient in ...