ionic-team / ionic-team/ionic-framework

feat: Add 'picker' interface for ion-select component

Offen
#20,317 1 Kommentar 14 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
package: core type: feature request
Vorherrschende Sprache
TypeScript
Sterne
52.7k
Forks
13.3k
Ø Merge
1 T. 15 Std.
Gemergte PRs (30 T.)
51

Beschreibung

# Feature Request

**Ionic version:**

[x] **4.x**
[x] **5.x**

**Describe the Feature Request**

It would be helpful if it were possible to use `ion-picker` as an interface for `ion-select`

**Describe Preferred Solution**

You could add a 4th value: (picker) for 'interface' property of ion-select.
`ion-select-option` could work as options for one-column picker.
If the picker options were in the template it would be easier apply Angular and custom pipes. At the same time, we could name the control to include into a form.

**Related Code**

This is an extract from one of my projects, changing the 'interface' property value:
``` html


{{ maint.start | date: 'shortDate' }} {{ maint.start | date: 'shortTime'}} - {{ maint.end | shortTime }}
Other schedule

```
I would like it to look like this
![image](https://user-images.githubusercontent.com/23505158/73232688-a4b58900-4149-11ea-847a-b8d8a47af9c1.png)

**Additional Context**

I find it hard to imagine how we could pass options for two or more columns, but it would be a great addition too.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.