-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
6db4465
commit 545f1f9
Showing
3 changed files
with
46 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<template> | ||
<div> | ||
<group title="check if value is valid when required===false"> | ||
<x-input type="number" v-model="currentValue"></x-input> | ||
<h1>{{currentValue}}</h1> | ||
</group> | ||
<!-- | ||
目前唯一允许安全选择文本的元素是: | ||
<input type="text|search|password|tel|url">如下所述: | ||
https://stackoverflow.com/questions/21177489/selectionstart-selectionend-on-input-type-number-no-longer-allowed-in-chrome | ||
--> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import { XInput, Group, XButton, Cell } from 'vux' | ||
export default { | ||
components: { | ||
XInput, | ||
XButton, | ||
Group, | ||
Cell | ||
}, | ||
name: 'Issue2960', | ||
data () { | ||
return { | ||
currentValue: 0 | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
<style scoped> | ||
</style> |
545f1f9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When will it be released to npm?