Add more examples

This commit is contained in:
Talia 2024-12-19 15:45:12 +01:00
parent 2f2db6edc6
commit a40bdcb56c

View file

@ -60,6 +60,37 @@
<button title="Log form data to dev console">Submit</button> <button title="Log form data to dev console">Submit</button>
</form> </form>
<details open>
<summary>More examples</summary>
<form>
<label>
<span>No Search</span>
<better-select>
<span slot="placeholder">Placeholder...</span>
<option value="first">First value</option>
<option value="second">Second value</option>
<option value="third">Third value</option>
</better-select>
</label>
<label>
<span>No Placeholder</span>
<better-select>
<option value="first">First value</option>
<option value="second">Second value</option>
<option value="third">Third value</option>
</better-select>
</label>
<label>
<span>Pre-Selected Option</span>
<better-select>
<option value="first">First value</option>
<option value="second" selected>Second value</option>
<option value="third">Third value</option>
</better-select>
</label>
</form>
</details>
<vertical-spacer triple></vertical-spacer> <vertical-spacer triple></vertical-spacer>
<md-block src="readme.md"> <md-block src="readme.md">