mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-27 00:48:41 +00:00
handle special case #id
This commit is contained in:
parent
8d0f7343dc
commit
dd974071d7
|
|
@ -490,9 +490,9 @@ export class Form {
|
|||
const selectors = formElement.getAttribute('data-ui-element').split(','),
|
||||
selectorLength = selectors.length;
|
||||
|
||||
const subMain = formElement.querySelector(
|
||||
formElement.getAttribute('data-ui-content')
|
||||
);
|
||||
const subMain = formElement.getAttribute('data-ui-content').charAt(0) === '#'
|
||||
? document.querySelector(formElement.getAttribute('data-ui-content'))
|
||||
: formElement.querySelector(formElement.getAttribute('data-ui-content'));
|
||||
|
||||
let values = [];
|
||||
let text = [];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user