picker Questions

4

I am building a Picker with SwiftUI. Now i want do add an icon AND text for each selection. So it should look something like this: Is this possible? If yes how to do it? Or is it not recommended b...
Monique asked 18/9, 2021 at 16:1

1

I'm using React-Native.I'm living trouble with Picker component on Android. I use Picker from Native-Base Library. Here is my Picker code with it's parent view. <View style={{height: 40, margin...
Dimmer asked 27/1, 2018 at 14:40

2

Solved

I would like to create a infinite/loop react-native Picker like on the image below. So, my question is: When I'm scrolling, how can I make the Picker start again from the first item after reach ...
Outpatient asked 12/8, 2017 at 22:23

2

Is it possible to set a placeholder text for a Swift Picker? I've been trying to search for a helpful answer but I haven't been successful so far. Currently, when passing available list values to t...
Stand asked 20/12, 2020 at 8:35

4

Solved

I'm using Material UI v3 within a react project (react v15.6). What i did so far? In the sign up page i can get an image from the user to use as his/her profile photo. What i want to do I would lik...
Dubbin asked 27/2, 2019 at 21:28

4

Solved

I have in a View a Picker that I wish to limit to a defined height and width. While the code below accomplishes that visually, the picker responds to tap actions outside of its area -- in some case...
Signal asked 31/5, 2020 at 1:1

1

Solved

Background I want a view that will allow the user to create a new core data item. That item will have a link to another core data item which the user will select from a picker which will be pre-pop...
Eberta asked 3/5, 2023 at 13:43

11

Solved

I want to change its color specifically: <Picker selectedValue={this.state.selected} onValueChange={(value) => this.setState({selected:value})} > {data.map ((value)=><Picker.Item ...
Baklava asked 20/10, 2017 at 10:9

3

Solved

I am trying to use the element in React Native. It works fine on Android but is not displaying on iOS. <Picker selectedValue={'java'} > <Picker.Item label="Java" value="java" /> <...
Condense asked 22/7, 2017 at 18:12

5

Solved

I have just started learning SwiftUI and got stuck somewhere! I am trying to change segment styled picker datasource when changing value of another segment. But somehow it is not working as expect...
Mallorca asked 12/10, 2019 at 9:35

7

I'm calling a widget in my code to display the selected image through image-picker plugin; following is my code: Widget _imagePlaceHolder() { if (imageSelected == null){ return Text("No File ...
Lonna asked 24/6, 2020 at 16:5

1

I need to be able to undo / redo the colors that are picked with the new SwiftUI ColorPicker ( on the iPad : it's presented as a floating window ) The thing that makes it very difficult is that the...
Sandhog asked 18/3, 2021 at 21:2

4

Solved

I have a Picker in a SwiftUI Form, and I'm trying to process the value whenever the picker changes. I expected to be able to do this with didSet on a variable that represents the currently selected...
Organize asked 5/11, 2019 at 22:8

2

Solved

I want to start showing the text inside the picker component from the start without any padding applied. I researched but couldn't find a solution. I'm debugging in android. My code: <View sty...
Hendley asked 13/2, 2020 at 6:40

8

Solved

I'm trying to add a three-component Picker (UIPickerView) to a SwiftUI app (in a traditional UIKit app, the data source would return 3 from the numberOfComponents method), but I can't find an examp...
Bellybutton asked 12/6, 2019 at 17:28

1

Solved

For some reason Apple decided to drop Label support for Pickers (tested in iOS15 and iOS16) For example: Picker(selection: $gender, label: "Select your gender" , content: { Text(Gende...
Fimbriation asked 20/7, 2022 at 6:50

5

Solved

I need an option like image picker for picking contact and to display phone number i have managed to get contact names using below code by using this code it only returns the names , need an opti...
Scram asked 20/8, 2018 at 11:8

3

Solved

My goal is to have two pickers placed side-by-side horizontally with each picker taking up half the width of the screen. Imagine a UIPickerView that fits the width of the screen and has two compone...
Bazan asked 9/7, 2019 at 23:15

4

I am working with a xamarin Forms. I am using Picker for DropDownList. How can I set selectedItem to Picker? My code <Picker x:Name="VendorName" Title="Select" ItemDisplayBinding="{Binding Ve...
Dynamotor asked 25/11, 2017 at 9:38

2

Solved

I'm working on a SwiftUI view whose purpose is to allow the user to enter an amount of dollars. I want a row of seven wheel-style Pickers, each of whose values are the digits 0 to 9. The following...
Levania asked 17/10, 2019 at 17:40

3

Solved

I want to use a SeekBar (i.e. old school Java Slider) into a color gradient picker. I have seen some examples like this but they all require making new classes and such. There has got to be a way t...
Crummy asked 3/12, 2010 at 5:32

1

Solved

I have tried to implement a layout like this using flutter. I have used the Cupertino Picker Class for that. But it just looks not as good as I want it to look. I have tried to fix it by using...
Speechmaker asked 5/12, 2019 at 18:54

3

Currently, I am working on a ionic application which require ion-picker (multi column picker). I got the data perfectly as I want but just one time means when I open picker for the first time, bu...
Zilpah asked 12/6, 2019 at 6:4

1

react-native Picker component doesn't seem like providing multiselect option https://facebook.github.io/react-native/docs/picker.html#enabled But, I have com across some libraries which provides ...
Referee asked 4/1, 2018 at 6:16

2

Solved

I'd like to set a navigation title when an user selected some option in Picker Here is my selection model: enum AppIcon: CaseIterable, Identifiable { var id: Self { return self } case `def...
Shilashilha asked 10/10, 2019 at 10:34

© 2022 - 2024 — McMap. All rights reserved.