simple change to get accounts auto-populating.

This commit is contained in:
Bryce Covert
2019-04-17 11:13:19 -07:00
parent c51d235a36
commit d30b0948d4
4 changed files with 39 additions and 17 deletions

View File

@@ -68,6 +68,7 @@
[typeahead {:matches (map (fn [x] [(:id x) (str (:numeric-code x) " - " (:name x))]) chooseable-expense-accounts)
:type "typeahead"
:field [index :account :id]
:text-field [index :account :name]
:event [::expense-account-changed event expense-accounts]
:subscription expense-accounts}]]]]
[:div.column.is-narrow