mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2025-01-03 23:07:26 +03:00
Added workaround to add tags on blur on tags input which allows tags to be added on Android
This commit is contained in:
parent
f8eb5fb022
commit
adec759579
2 changed files with 3 additions and 3 deletions
|
@ -71,8 +71,9 @@ export class CreateShortUrl extends React.Component {
|
|||
<TagsInput
|
||||
value={this.state.tags}
|
||||
onChange={changeTags}
|
||||
onlyUnique
|
||||
inputProps={{ placeholder: 'Add tags to the URL' }}
|
||||
onlyUnique
|
||||
addOnBlur // FIXME Workaround to be able to add tags on Android
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import ShlinkApiClient from '../../api/ShlinkApiClient';
|
||||
import { curry } from 'ramda';
|
||||
|
||||
const LIST_SHORT_URLS_START = 'shlink/shortUrlsList/LIST_SHORT_URLS_START';
|
||||
const LIST_SHORT_URLS_ERROR = 'shlink/shortUrlsList/LIST_SHORT_URLS_ERROR';
|
||||
|
@ -41,4 +40,4 @@ export const _listShortUrls = (ShlinkApiClient, params = {}) => async dispatch =
|
|||
dispatch({ type: LIST_SHORT_URLS_ERROR, params });
|
||||
}
|
||||
};
|
||||
export const listShortUrls = curry(_listShortUrls)(ShlinkApiClient);
|
||||
export const listShortUrls = (params = {}) => _listShortUrls(ShlinkApiClient, params);
|
||||
|
|
Loading…
Reference in a new issue