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