Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkingshott committed May 8, 2023
1 parent 396f421 commit b085e53
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@caneara/varnish",
"author": "Caneara",
"version": "5.0.2",
"version": "5.0.3",
"license": "MIT",
"description": "A library of UI components built using Vue.js and TailwindCSS.",
"repository": {
Expand Down
16 changes: 8 additions & 8 deletions src/components/search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
:title="field.label"
v-model="form[field.id]"
:error="form.errors[field.id]"
v-if="! Is.array(field.control) && field.control === 'TextBox'"
:id="`search_${field.label.toLowerCase().replaceAll(' ', '_')}`">
:id="`search_${field.label.toLowerCase().replaceAll(' ', '_')}`"
v-if="! System.Is.array(field.control) && field.control === 'TextBox'">
</v-textbox>

<!-- DropDown -->
Expand All @@ -28,7 +28,7 @@
:error="form.errors[field.id]"
:items="System.Page.property(field.control[1])"
:id="`search_${field.label.toLowerCase().replaceAll(' ', '_')}`"
v-if="Is.array(field.control) && field.control[0] === 'DropDown'">
v-if="System.Is.array(field.control) && field.control[0] === 'DropDown'">
</v-dropdown>

<!-- Date -->
Expand All @@ -38,8 +38,8 @@
:title="field.label"
v-model="form[field.id]"
:error="form.errors[field.id]"
v-if="! Is.array(field.control) && field.control === 'Date'"
:id="`search_${field.label.toLowerCase().replaceAll(' ', '_')}`">
:id="`search_${field.label.toLowerCase().replaceAll(' ', '_')}`"
v-if="! System.Is.array(field.control) && field.control === 'Date'">
</v-datetime>

<!-- Period -->
Expand All @@ -48,8 +48,8 @@
:title="field.label"
v-model="form[field.id]"
:error="form.errors[field.id]"
v-if="! Is.array(field.control) && field.control === 'Period'"
:id="`search_${field.label.toLowerCase().replaceAll(' ', '_')}`">
:id="`search_${field.label.toLowerCase().replaceAll(' ', '_')}`"
v-if="! System.Is.array(field.control) && field.control === 'Period'">
</v-period>

</div>
Expand Down Expand Up @@ -152,7 +152,7 @@
: '';
this.source.search.filtering.forEach(field => {
attributes[field.id] = Is.array(field.control) && field.control[0] === 'DropDown'
attributes[field.id] = System.Is.array(field.control) && field.control[0] === 'DropDown'
? parseInt(System.Browser.queryString(field.id))
: System.Browser.queryString(field.id);
});
Expand Down

0 comments on commit b085e53

Please sign in to comment.