mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 19:59:12 +00:00
feat: added search to the Select fields dialog in Patient History Settings
This commit is contained in:
@@ -53,6 +53,14 @@ frappe.ui.form.on('Patient History Settings', {
|
|||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|
||||||
|
d.$body.prepend(`
|
||||||
|
<div class="columns-search">
|
||||||
|
<input type="text" placeholder="${__('Search')}" data-element="search" class="form-control input-xs">
|
||||||
|
</div>`
|
||||||
|
);
|
||||||
|
|
||||||
|
frappe.utils.setup_search(d.$body, '.unit-checkbox', '.label-area');
|
||||||
|
|
||||||
d.set_primary_action(__('Save'), () => {
|
d.set_primary_action(__('Save'), () => {
|
||||||
let values = d.get_values().fields;
|
let values = d.get_values().fields;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user