UX improvements
All checks were successful
continuous-integration/drone/push Build is passing

* ignore English articles when sorting names
  * added a new sort_name field that gets automatically created
* automatically fill certain values in forms:
  * new game: name and sort name after typing
  * new edition: name and sort name when selecting game
  * new purchase: platform when selecting edition
This commit is contained in:
2023-11-09 14:49:00 +01:00
parent 866f2526e6
commit a879360ebd
12 changed files with 278 additions and 61 deletions

View File

@ -0,0 +1,12 @@
import { syncSelectInputUntilChanged } from './utils.js'
let syncData = [
{
"source": "#id_name",
"source_value": "value",
"target": "#id_sort_name",
"target_value": "value"
}
]
syncSelectInputUntilChanged(syncData, "form")