docs: update badges

This commit is contained in:
Benjamin Canac
2023-07-30 15:13:44 +02:00
parent e25be118b7
commit 1bc055935e
7 changed files with 11 additions and 11 deletions

View File

@@ -108,7 +108,7 @@ const selected = ref(people[0])
```
::
If you only want to select a single object property rather than the whole object as value, you can set the `value-attribute` property. This prop defaults to `null`.
If you only want to select a single object property rather than the whole object as value, you can set the `value-attribute` property. This prop defaults to `null`. :u-badge{label="Edge" class="!rounded-full" variant="subtle"}
::component-example
#default
@@ -193,7 +193,7 @@ props:
---
::
### Async search :u-badge{label="New" class="ml-2 align-text-bottom !rounded-full"}
### Async search :u-badge{label="New" class="ml-2 align-text-bottom !rounded-full" variant="subtle"}
Pass a function to the `searchable` prop to customize the search behavior and filter options according to your needs. The function will receive the query as its first argument and should return an array.