Skip to content

How to change input validated field border colour? #1952

Discussion options

You must be logged in to vote

Hi! Add the data-te-class- attribute to the elements that has data-te-validation-init data attribute.

    <form id="form-1" 
      data-te-validation-init
      data-te-class-notch-leading-valid="border-[#ff0] dark:border-[#ff0] group-data-[te-input-focused]:shadow-[-1px_0_0_#ff0,_0_1px_0_0_#ff0,_0_-1px_0_0_#ff0] group-data-[te-input-focused]:border-[#ff0]"
      >
         ...
    </form>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Smyczek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants