Skip to content

Commit

Permalink
demos: fix parsing url query
Browse files Browse the repository at this point in the history
  • Loading branch information
philippkuehn committed Sep 20, 2021
1 parent a0e5eac commit cc586ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demos/preview/Demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ export default {
},
fromString(value) {
if (typeof value !== 'string') {
return value
if (value === null) {
return true
}
if (value.match(/^\d*(\.\d+)?$/)) {
Expand Down

0 comments on commit cc586ce

Please sign in to comment.