HTML Elements Forums General Discussions How to use form validation?

Tagged: 

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

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

    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;
    #99776
    Avatar
    admin
    Keymaster

    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
    https://www.htmlelements.com

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

You must be logged in to reply to this topic.