mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-07 22:15:45 +01:00
Added custom loading message
Mainly as a placeholder to implement i18n later
This commit is contained in:
@@ -47,6 +47,7 @@ class Autocomplete extends React.Component<Props, State> {
|
||||
onChange={this.handleInputChange}
|
||||
value={selectValue}
|
||||
placeholder="Start typing..." // TODO: i18n
|
||||
loadingMessage={() => <>Loading...</>} // TODO: i18n
|
||||
noOptionsMessage={() => <>No suggestion available</>} // TODO: i18n
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user