Skip to content

Commit

Permalink
Merge pull request #1 from saicheck2233/issue#119
Browse files Browse the repository at this point in the history
Issue#119
  • Loading branch information
saicheck2233 authored Jun 27, 2023
2 parents 5046b4c + f856290 commit 3e6eb82
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/js/brutusin-json-forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,9 @@ if (typeof brutusin === "undefined") {
input.title = s.description;
input.placeholder = s.description;
}
if (s.class) {
input.className = s.class;
}
// if (s.pattern) {
// input.pattern = s.pattern;
// }
Expand Down Expand Up @@ -401,6 +404,9 @@ if (typeof brutusin === "undefined") {
};
input.schema = schemaId;
input.id = getInputId();
if (s.class) {
input.className = s.class;
}
inputCounter++;
if (s.description) {
input.title = s.description;
Expand Down

0 comments on commit 3e6eb82

Please sign in to comment.