Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

FormValidation.io TypeScript bindings


On the previous version, you supplied the FormValidation.io TypeScript bindings, however I can't see them anywhere in the src -> plugins -> @form-validation folder

Are these still available, if so can you supply and please include in the future releases

Thanks


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (6)


Hi,

We haven't removed the FormValidation.io TypeScript bindings. The folder structure may have been updated, and you can check within each folder for the TypeScript bindings.

Please refer to the documentation for the most accurate and up-to-date information:
https://formvalidation.io/guide/getting-started/

If you have any further questions or concerns, feel free to reach out. Thank you for your understanding!



Thats not quite true, in Metronic 7, you supplied both the dist and src directories for FormValidation, the source is in TypeScript, the dist is in JS

You supplied the TypeScript bindings previously as a file global.d.ts, however I struggle to determine if this was ever included in the src, but it was supplied by yourselves on request previously in 2021

With regards to the current Metronic 8 distributions, there is no global.d.ts and indeed no .ts files in any part of the current formvaliidation src

Can you determine if the file is available from the developer?



Hi,

Current Metronic 8.2.3 provides the latest version of the form-validation plugin with a full source code. Due to a recent file structure change https://formvalidation.io/updates/ the global.d.ts probably was removed.
I will double-check with the plugin's author and clarify missing global.d.ts.

Regards.



Hi,

Please check the reply from the plugin author:

=============

Hi,

Yes! In the latest release, all the packages are now available on NPM. And each of them comes with a separated TypeScript definition file.
It's easier for me to maintain the TypeScript definitions in that way.

Check 23 Apr, 2023 release: https://formvalidation.io/updates/

Best,
Phuoc



I assume since formvalidation is a paid for component and only you have the required key to download the npm's) and we as purchasers of Metronic don't have access to those npm feeds.

It should therefore be down to keen themes to ensure the files are included as part of the distribution.



Hi,

The TS resources are available for free and you can access them: https://www.npmjs.com/package/@form-validation/bundle

In the next update we will put the packages links in the docs. Appreciate your feedback!

Regards.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(