forked from GithubBackups/healthchecks
Add maxlength attribute to HTML input=text elements. Fixes #225
This commit is contained in:
parent
f8c0c20d34
commit
290d46bc2a
@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
|
|
||||||
### Improvements
|
### Improvements
|
||||||
- Add the "desc" field (check's description) to API responses
|
- Add the "desc" field (check's description) to API responses
|
||||||
|
- Add maxlength attribute to HTML input=text elements
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
- Fix refreshing of the checks page filtered by tags (#221)
|
- Fix refreshing of the checks page filtered by tags (#221)
|
||||||
|
@ -358,6 +358,7 @@
|
|||||||
<input
|
<input
|
||||||
name="name"
|
name="name"
|
||||||
type="text"
|
type="text"
|
||||||
|
maxlength="100"
|
||||||
value="{{ ch.name }}"
|
value="{{ ch.name }}"
|
||||||
placeholder="{{ ch }}"
|
placeholder="{{ ch }}"
|
||||||
class="input-name form-control" />
|
class="input-name form-control" />
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
id="update-name-input"
|
id="update-name-input"
|
||||||
name="name"
|
name="name"
|
||||||
type="text"
|
type="text"
|
||||||
|
maxlength="100"
|
||||||
value="{{ check.name }}"
|
value="{{ check.name }}"
|
||||||
placeholder="unnamed"
|
placeholder="unnamed"
|
||||||
class="input-name form-control" />
|
class="input-name form-control" />
|
||||||
@ -41,6 +42,7 @@
|
|||||||
id="update-tags-input"
|
id="update-tags-input"
|
||||||
name="tags"
|
name="tags"
|
||||||
type="text"
|
type="text"
|
||||||
|
maxlength="500"
|
||||||
value="{{ check.tags }}"
|
value="{{ check.tags }}"
|
||||||
placeholder="production www"
|
placeholder="production www"
|
||||||
class="form-control" />
|
class="form-control" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user