admin管理员组文章数量:1516870
html input format,html
Whats the best way to set the input format when using smpte-timecode?
placeholder="In"
autoFocus={true}
onChange={e => this.onChange(e)}
type="time"
step="00.01"
pattern="^(?:(?:([01]?\d|2[0-3]):)?([0-5]?\d):)?([0-5]?\d)$"
style={{fontSize: "16px", width: "100%"}}/>
)}
onChange = (element, frameRate) => {
const { form } = this.props;
const keys = form.getFieldValue('keys');
keys.forEach(function (value) {
var inTc = Timecode(form.getFieldValue('1-in'), 25); // errors
console.log(inTc.toString());
});
This keeps resulting in the following
Error: Timecode string expected as HH:MM:SS:FF or HH:MM:SS;FF
本文标签: html input formatHTML
版权声明:本文标题:html input format,html 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.betaflare.com/biancheng/1702189018a553998.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论