@iankibetsh/shframework 5.0.5 → 5.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/library.js CHANGED
@@ -2219,7 +2219,9 @@ function filterData(e){
2219
2219
  showDropDown();
2220
2220
  let filterValue = e.target.innerText;
2221
2221
  searchText.value = filterValue;
2222
- updateModelValue();
2222
+ if(props.allowUserInput){
2223
+ updateModelValue();
2224
+ }
2223
2225
  if (props.url) {
2224
2226
  fetchRemoteData();
2225
2227
  } else if(props.data) {
package/dist/library.mjs CHANGED
@@ -2207,7 +2207,9 @@ function filterData(e){
2207
2207
  showDropDown();
2208
2208
  let filterValue = e.target.innerText;
2209
2209
  searchText.value = filterValue;
2210
- updateModelValue();
2210
+ if(props.allowUserInput){
2211
+ updateModelValue();
2212
+ }
2211
2213
  if (props.url) {
2212
2214
  fetchRemoteData();
2213
2215
  } else if(props.data) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "5.0.5",
3
+ "version": "5.0.6",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",