mirror of
https://github.com/grocy/grocy.git
synced 2026-04-05 12:26:15 +02:00
18 lines
393 B
JavaScript
18 lines
393 B
JavaScript
import BasePicker from "./BasePicker";
|
|
|
|
class shoppinglocationpicker extends BasePicker
|
|
{
|
|
|
|
constructor(Grocy, scopeSelector = null)
|
|
{
|
|
super(Grocy, "#shopping_location_id", scopeSelector);
|
|
|
|
this.picker = this.$(this.basename);
|
|
this.input_element = this.$(this.basename + '_text_input');
|
|
|
|
this.initCombobox('.recipe-combobox');
|
|
this.prefill();
|
|
}
|
|
}
|
|
|
|
export { shoppinglocationpicker } |