mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
docs: update badges
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user