-
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
enhancementNew feature or requestNew feature or requestspikeIf this is something that is just an experiment or should be permanentIf this is something that is just an experiment or should be permanent
Description
https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/setCustomValidity
rough draft api could maybe look something like:
h.Validation(opts ... ValidationOpt)
validation.Regex() ValidationOpt
validation.Js()
validation.Required()
validation.Partial(partial PartialFunc)
h.Input(
h.Validation(
validation.Regex()
)
)
using partials and doing the validation in go code might be a better option tho... spike this and find out
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestspikeIf this is something that is just an experiment or should be permanentIf this is something that is just an experiment or should be permanent