猿问
回到首页
个人中心
反馈问题
注册登录
下载APP
首页
课程
实战
体系课
手记
专栏
慕课教程
react如何设置input的maxlength等属性?
是不支持这些属性吗,还是要特殊处理,要怎样才能添加上?
宝慕林4294392
浏览 2601
回答 2
2回答
回首忆惘然
大写L<input type = "text" maxLength = "4" />
0
0
0
holdtom
maxLengthaccept acceptCharset accessKey action allowFullScreen allowTransparency altasync autoComplete autoFocus autoPlay capture cellPadding cellSpacing challengecharSet checked cite classID className colSpan cols content contentEditablecontextMenu controls coords crossOrigin data dateTime default defer dirdisabled download draggable encType form formAction formEncType formMethodformNoValidate formTarget frameBorder headers height hidden high href hrefLanghtmlFor httpEquiv icon id inputMode integrity is keyParams keyType kind labellang list loop low manifest marginHeight marginWidth max maxLength mediamediaGroup method min minLength multiple muted name noValidate nonce openoptimum pattern placeholder poster preload profile radioGroup readOnly relrequired reversed role rowSpan rows sandbox scope scoped scrolling seamlessselected shape size sizes span spellCheck src srcDoc srcLang srcSet start stepstyle summary tabIndex target title type useMap value width wmode wrap
0
0
0
打开App,查看更多内容
随时随地看视频
慕课网APP
相关分类
React.JS
react ,react router,react redux的学习顺序是什么?
3 回答
为什么import React from 'react',React首字母必须大写?
3 回答
继续浏览精彩内容
慕课网APP
程序员的梦工厂
打开
继续