akveo / akveo/ng2-smart-table

Dropdown for Foreign Key

Offen
#446 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
1.6k
Forks
867
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I would like to manage a foreign key column with a dropdown and have the ID field hidden from the user.

Say the smart table shows invoices and an invoice has a column "CustomerId". Then I want to see the customer name (not ID) in view mode as well as all customer names (not IDs) in the dropdown.

Sounds like a common scenario but can't see it done anywhere in smart table samples or blogs.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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