vue.js uses element-ui, in which < el-input > how to prohibit the input of special characters such as! @-sharp$% ^ &?
vue.js uses element-ui, in which < el-input > how to prohibit the input of special characters such as! @-sharp$% ^ &?
watch
needs data
to disable special characters, and update the variable watch
in $nextTick ()
. The template is still v-model
binds the fields that need to be entered.
for example, username
:
listens for input events and, if there are these characters, replace them with empty characters
Previous: How to convert a non-relative path to a relative path in TypeScript tsconfig.json configuration
Next: When learning redux, to use redux, how to pass the submitTaskId function like using props?
<el-upload class="upload-demo" drag action="https: jsonplaceholder.typicode.com posts " multiple> <i class="el-icon-upload">< i> <div class="el-upload__text"><em>< e...
element-ui has a hidden component scrollbar, that is not reflected in the documentation. but this is available in the official complete component list, but how to introduce hidden components such as scrollbar when using on-demand components? ...
I want to change the disabled status of the button through the computer status parameters in the table when the button is available when the inventory is displayed, and disabled when the button is in use <el-row> <el-col :span="2...
: I got the value value through the change method. May I ask how to: can I take the label value? how to take ? <el-select v-model="type2" @change="currentSel"> <el-option v-for="item in options2" :label="it...
our requirement requires table to support 10,000 fields of data, without paging, using elementUI s table component, special card, are there any table components with high performance that can meet our requirements? ...
The table attribute on the document has fit, whether the width of the column is self-supporting, and the default is true. has no effect. ...