Closed timwis closed 2 years ago
Hi there, thanks for this plugin! I was wondering if there's any way to mark the field as required so the form won't submit unless it has a value? I would think via the required attribute of the <input> or <select>
required
<input>
<select>
I made a pull request for that: https://github.com/pstanoev/simple-svelte-autocomplete/pull/137
Hi there, thanks for this plugin! I was wondering if there's any way to mark the field as
required
so the form won't submit unless it has a value? I would think via therequired
attribute of the<input>
or<select>