HTML Elements Forums General Discussions How to use form validation?


This topic contains 1 reply, has 2 voices, and was last updated by Avatar admin 2 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #99774

    I noticed that some elements like text-box have required property.
    But I have not found any documentation about form (or input) validation.
    Maybe you have not implemented it yet and it is on the roadmap?
    Or I am missing something and could not find it on your examples or API doc pages?

    Set the required property by using the HTML Element's instance.
     const textBox = document.querySelector('smart-text-box');
     textBox.required = false;

    Hi petays,

    At present, we do not have validation plug-in. We are working on such and it should be available soon.

    Best Regards,
    Smart HTML Elements TEam

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.