Remove console.log used for debugging.
- New Class for making an Infinite Scrolling table
- A GenericSearchFormClass that all searchform Utilities are based upon
- A new ScrollTableSearchForm that utilized Both classes mentioned Above
- SearchForm uses GenericSearchForm whilst maintaining old fuynctionality
Improved Documentation
- At
modal.js
I removed theformModalHandlingFunction
and placedAjaxModal
instead
- Upon modal.js do not reset the for If a non-ajax error has occured.
- Introduced ajaxFailureCallback in submitFormUponModalUsingAjax to handle AJAX failure more explicitly and modularly.
- Added formSubmitErrorHandleBeforeAjax parameter to provide custom error handling before making the AJAX call.
- Improved fallback mechanisms for formSubmitErrorHandleBeforeAjax to ensure graceful error handling if not defined by the developer.
- Implemented __handle to centralize submission and error handling logic.
- Simplified error handling by replacing promise-based flow with callback-based flow for easier usage and customization.
- The onSubmitHandle callback now expects an error argument to handle both synchronous and asynchronous code execution seamlessly.
- Removed Promise.resolve structure to reduce complexity and increase control over submission handling.
- Updated formEnable Function:
- Now checks for buttons outside the form by using the form's id attribute, supporting more flexible form structures.
- Improved error message when the submit button is not found.
- Backdrop Cleanup: Addressed an issue where the modal backdrop was not always removed properly after modal closure.
- Remove Debug console log from resetFormFeedback
New feature functions to display and remove alerts upon modal.
Place unhandled inputs upon errorResponseHandler.
Add missing errorResponseHandler method call upon modal.js
Add missing method call upon modal.js
Add Form Modal Submission method upon modal.js
Import missinf function call in input-error.js
Improved errorResponseHandler. This function now acepts an optionale Third argument with the parent element to look for inputs
- Fix typo upon release-npm.yml
- Improve function prependHtmlRowIntoATable.
Upon Improvement in prependHtmlRowIntoATable include the following:
- Check whether table is a table ot a tbody
- Conditional detecting to a tbody
- Clone nodes that are appended.
Add following functions:
toggleElementVisibility
that makes an element visible or not depending if checkbox or radio is checkedresetInputElement
That resets the value of an input element if element is not an input one it scans for ant input element in it:resetElement
Directly reset the value of an in put element
Add function errorResponseHandler
upon input-error.js
Fix package.json exports
- Utility for bootstrapping the event handlers upon a search form
- Function to prepend a row upon a table's tbody
- Remove
Contributing.md
Do not use husky for releases but a manual script instead.
Improved pre-push hook that also pushes commited files.
Add error callback for 422 htt status upon utils.js at function submitFormAjax.
Create Changelog Add function boolInputUponCheckboxCheckedStatus at utils.js
Improve documentation.
Url Validation Submit Checkbox via ajax. Also do the same of an input element's value as well.
Insertion of Visibility Utitilites at visibility.js
Add exports to package.json Add documentation
Initial creation and deployment of the library Creation of: - clipboard.js - url.js - utils.js - input-error.js Old Export types