mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2025-01-09 09:47:28 +03:00
Fixed custom slug field not being disabled when selecting a short code length
This commit is contained in:
parent
8a9c694fbc
commit
84fc82b74e
2 changed files with 4 additions and 2 deletions
|
@ -24,7 +24,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||
|
||||
#### Fixed
|
||||
|
||||
* *Nothing*
|
||||
* [#295](https://github.com/shlinkio/shlink-web-client/issues/295) Fixed custom slug field not being disabled when selecting a short code length.
|
||||
|
||||
|
||||
## 2.5.1 - 2020-06-06
|
||||
|
|
|
@ -108,7 +108,9 @@ const CreateShortUrl = (
|
|||
|
||||
<div className="row">
|
||||
<div className="col-sm-4">
|
||||
{renderOptionalInput('customSlug', 'Custom slug')}
|
||||
{renderOptionalInput('customSlug', 'Custom slug', 'text', {
|
||||
disabled: hasValue(shortUrlCreation.shortCodeLength),
|
||||
})}
|
||||
</div>
|
||||
<div className="col-sm-4">
|
||||
{renderOptionalInput('shortCodeLength', 'Short code length', 'number', {
|
||||
|
|
Loading…
Reference in a new issue