Update README and codebase with new components and fixes
- Added `DeesStorageBrowser` to the Data Display section in README. - Included `DeesUpdater` in the Theming section of README. - Corrected the path to the LICENSE file in the README. - Updated company information section for clarity in README. - Modified `getFormElements` and `getSubmitButton` methods in `DeesForm` to use `querySelectorAll` for better input selection. - Updated `apexcharts` version from `5.10.3` to `5.10.4` in versions service.
This commit is contained in:
@@ -135,13 +135,14 @@ export class DeesForm extends DeesElement {
|
||||
}
|
||||
|
||||
public getFormElements(): Array<TFormInputElement> {
|
||||
return Array.from(this.children).filter((child) =>
|
||||
// Use querySelectorAll('*') to find form inputs nested inside wrapper elements (e.g. <div>)
|
||||
return Array.from(this.querySelectorAll('*')).filter((child) =>
|
||||
FORM_INPUT_TYPES.includes(child.constructor as any)
|
||||
) as unknown as TFormInputElement[];
|
||||
}
|
||||
|
||||
public getSubmitButton(): DeesFormSubmit | undefined {
|
||||
return Array.from(this.children).find(
|
||||
return Array.from(this.querySelectorAll('*')).find(
|
||||
(child) => child instanceof DeesFormSubmit
|
||||
) as DeesFormSubmit;
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ export const CDN_VERSIONS = {
|
||||
xtermAddonFit: '0.8.0',
|
||||
xtermAddonSearch: '0.13.0',
|
||||
highlightJs: '11.11.1',
|
||||
apexcharts: '5.10.3',
|
||||
apexcharts: '5.10.4',
|
||||
tiptap: '2.27.2',
|
||||
fontawesome: '7.2.0',
|
||||
} as const;
|
||||
|
||||
Reference in New Issue
Block a user