Open VexyCats opened 4 years ago
<Form.Group controlId="formBasicEmail" className={styles.appFormgroup}> <Form.Label className={styles.appInfolabel}>{label}</Form.Label> <TagsInput className={styles.appTagsblock} onChange={onChange} onChangeInput={onChangeInput} inputValue={inputValue} value={value || []} maxTags={8} addKeys={[9, 13]} maxlength="16" {...props} /> {touched && invalid && ( <div className="signerror" > {error} </div> )} </Form.Group>
Works fine on computer/browser. On mobile enter will only go to the next field and not actually submit the tags.
solved it by wrapping TagsInput with form
<form> <TagsInput/> </form>
But form cannot be nested . :(
Works fine on computer/browser. On mobile enter will only go to the next field and not actually submit the tags.