Skip to content

Commit f02a6a7

Browse files
committed
v0.5.0
1 parent e6842ce commit f02a6a7

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
All notable changes to `bs-blade-forms` will be documented in this file
44

5+
6+
## 0.5.0 - 2025-04-04
7+
8+
- feat: support for option fetching from url in search-select and multi-select
9+
510
## 0.4.1 - 2025-03-13
611

712
- fix: solved livewire rendering issue on searchselect and multiselect

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ Renders a single selection element with a research bar for filtering the options
187187
|--------------------|-------------------|--------------------------------------------------------------------------------|
188188
| name | string | *Required*. Name of the select element |
189189
| options | array, Collection | The options to display on the select. |
190+
| fetch-url | string | An url to fetch for available options (to use with big data). The library will add a `q` querystring param with the searched string. Response should be a json in the `{ [value]: [label] }` format|
190191
| value | string, int | The initial selected value | |
191192
| required | bool | Set the select element as required (form can't be submitted without selection) | |
192193
| placeholder | string | Element placeholder when no option is selected |
@@ -220,12 +221,14 @@ Renders a multiple selection element with a research bar for filtering the optio
220221
|--------------------|-------------------|--------------------------------------------------------------------------------|
221222
| name | string | *Required*. Name of the select element |
222223
| options | array, Collection | The options to display on the select. |
223-
| value | array | The initial selected values | |
224-
| required | bool | Set the select element as required (form can't be submitted without selection) | |
224+
| fetch-url | string | An url to fetch for available options (to use with big data). The library will add a `q` querystring param with the searched string. Response should be a json in the `{ [value]: [label] }` format|
225+
| value | array | The initial selected values |
226+
| required | bool | Set the select element as required (form can't be submitted without selection) |
225227
| placeholder | string | Element placeholder when no option is selected |
226228
| label | string | If present, renders a `Label` above the element |
227229
| icon | string | If present, renders an `IconGroup` around the element |
228230
| search-placeholder | string | The placeholder of the search input |
231+
| select-buttons | bool | Whether or not to show "select all" and "unselect all" buttons (default true) |
229232
| * | | Additional attributes will be forwarded to the underlying element. |
230233

231234
#### Select

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"tiknil",
66
"bs-blade-forms"
77
],
8-
"version": "0.4.1",
8+
"version": "0.5.0",
99
"homepage": "https://github.com/tiknil/bs-blade-forms",
1010
"license": "MIT",
1111
"type": "library",

0 commit comments

Comments
 (0)