最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

html input format,html

互联网 admin 44浏览 0评论

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 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

发布评论

评论列表 (0)

  1. 暂无评论