MM-51451 Replace all characters in generated values instead of just the first one (#22869)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
193fa57770
Коммит
024a5472ff
@@ -671,7 +671,7 @@ export default class SchemaAdminSettings extends React.PureComponent {
|
|||||||
};
|
};
|
||||||
|
|
||||||
handleGeneratedChange = (id, s) => {
|
handleGeneratedChange = (id, s) => {
|
||||||
this.handleChange(id, s.replace('+', '-').replace('/', '_'));
|
this.handleChange(id, s.replace(/\+/g, '-').replace(/\//g, '_'));
|
||||||
};
|
};
|
||||||
|
|
||||||
handleChange = (id, value, confirm = false, doSubmit = false, warning = false) => {
|
handleChange = (id, value, confirm = false, doSubmit = false, warning = false) => {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user