mirror of
https://github.com/grocy/grocy.git
synced 2026-04-05 20:36:15 +02:00
18 lines
365 B
JavaScript
18 lines
365 B
JavaScript
import BasePicker from "./BasePicker";
|
|
|
|
class locationpicker extends BasePicker
|
|
{
|
|
constructor(Grocy, scopeSelector = null)
|
|
{
|
|
super(Grocy, "#location_id", scopeSelector);
|
|
|
|
this.picker = this.$(this.basename);
|
|
this.inputElement = this.$('#location_id_text_input');
|
|
|
|
this.initCombobox('.location-combobox');
|
|
|
|
this.prefill();
|
|
}
|
|
}
|
|
|
|
export { locationpicker } |