preline icon indicating copy to clipboard operation
preline copied to clipboard

Add and edit form with same select field id causing problem.

Open ashikck opened this issue 1 year ago • 1 comments

How to get const el = HSSelect.getInstance('#name'); in different form component with same id

ashikck avatar Jan 26 '24 16:01 ashikck

How to get const el = HSSelect.getInstance('#name'); in different form component with same id

Hi! Initialized elements are not saved in the application memory (store).
 The getInstance('#id’) function returns instance from the collection on the current page. These elements are only available on the current page in the window object and not in any local store.

olegpix avatar Feb 28 '24 16:02 olegpix