mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
removed expandable textarea
This commit is contained in:
parent
4f65aa8f89
commit
6db5b62a74
2 changed files with 2 additions and 6 deletions
|
@ -87,7 +87,6 @@
|
||||||
"rc-slider": "8.5.0",
|
"rc-slider": "8.5.0",
|
||||||
"react": "16.8.1",
|
"react": "16.8.1",
|
||||||
"react-dom": "16.8.1",
|
"react-dom": "16.8.1",
|
||||||
"react-expandable-textarea": "github:muerwre/react-expandable-textarea",
|
|
||||||
"react-hot-loader": "^4.1.1",
|
"react-hot-loader": "^4.1.1",
|
||||||
"react-infinite-scroller": "^1.2.2",
|
"react-infinite-scroller": "^1.2.2",
|
||||||
"react-rangeslider": "^2.2.0",
|
"react-rangeslider": "^2.2.0",
|
||||||
|
|
|
@ -6,7 +6,6 @@ import { Icon } from '~/components/panels/Icon';
|
||||||
import { Switch } from '~/components/Switch';
|
import { Switch } from '~/components/Switch';
|
||||||
|
|
||||||
import classnames from 'classnames';
|
import classnames from 'classnames';
|
||||||
import ExpandableTextarea from 'react-expandable-textarea';
|
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import { selectMap } from '~/redux/map/selectors';
|
import { selectMap } from '~/redux/map/selectors';
|
||||||
import * as EDITOR_ACTIONS from '~/redux/editor/actions';
|
import * as EDITOR_ACTIONS from '~/redux/editor/actions';
|
||||||
|
@ -139,9 +138,7 @@ class SaveDialogUnconnected extends React.Component<Props, State> {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="save-textarea">
|
<div className="save-textarea">
|
||||||
<ExpandableTextarea
|
<textarea
|
||||||
minRows={2}
|
|
||||||
maxRows={5}
|
|
||||||
placeholder="Описание маршрута"
|
placeholder="Описание маршрута"
|
||||||
value={parseDesc(description)}
|
value={parseDesc(description)}
|
||||||
onChange={this.setDescription}
|
onChange={this.setDescription}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue